dart_objc 0.1.8 dart_objc: ^0.1.8 copied to clipboard
Write Objective-C 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_objc
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
dart_objc: ^0.1.8
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_objc/dart_objc.dart';