os_intents_gen 0.3.0
os_intents_gen: ^0.3.0 copied to clipboard
The build_runner generator for os_intents. Emits the Dart dispatcher and the Swift and Kotlin the OS needs at compile time.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add os_intents_genWith Flutter:
$ flutter pub add os_intents_genThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
os_intents_gen: ^0.3.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:os_intents_gen/os_intents_gen.dart';