intent_ns 2.0.0
intent_ns: ^2.0.0 copied to clipboard
A null-safe fork of the intent package.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add intent_ns
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
intent_ns: ^2.0.0
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:intent_ns/action.dart';
import 'package:intent_ns/category.dart';
import 'package:intent_ns/extra.dart';
import 'package:intent_ns/flag.dart';
import 'package:intent_ns/intent.dart';
import 'package:intent_ns/typedExtra.dart';