did_change_dependencies 1.0.0 did_change_dependencies: ^1.0.0 copied to clipboard
Return a Stream that emits null and done event when didChangeDependencies is called for the first time.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add did_change_dependencies
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
did_change_dependencies: ^1.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:did_change_dependencies/did_change_dependencies.dart';