ilshookim / dart_ffi_samples

A collection of Dart code samples by Dart DevRel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dart samples

CI

A collection of Dart programs that illustrate features and best practices. For a list of community-maintained projects, see Awesome Dart.

Index

  • command_line - A command line app that parses command-line options and fetches from GitHub.
  • extension_methods - A set of samples that demonstrates the extension methods syntax and shows some common use cases of the feature.
  • null_safety/calculate_lix - A sample app that calculates the 'lix' readability index with an implementation that uses the tech preview of Dart's new null safety feature.
  • ffi - A series of simple examples demonstrating how to call C libraries from Dart.
  • native_app - A command line application that can be compiled to native code using dart2native.

More samples

Contributing

See the Contributing guide for details on how to contribute.

About

A collection of Dart code samples by Dart DevRel

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Dart 79.6%Language:Shell 8.6%Language:C 7.8%Language:CMake 2.5%Language:Dockerfile 1.1%Language:C++ 0.5%