dart_native 0.1.18 dart_native: ^0.1.18 copied to clipboard
Write native code using Dart. This package liberates you from native code and low performance channel.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add dart_native
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
dart_native: ^0.1.18
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dart_native/dart_native.dart';