os_intents 0.3.0
os_intents: ^0.3.0 copied to clipboard
Declare OS-level app actions in Dart. Generates iOS App Intents and Android AppFunctions — no Swift or Kotlin by hand.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add os_intentsThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
os_intents: ^0.3.0Alternatively, 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:os_intents/os_intents.dart';