lifecycle 1.0.0-alpha1 copy "lifecycle: ^1.0.0-alpha1" to clipboard
lifecycle: ^1.0.0-alpha1 copied to clipboard

Composable app, route, page, and viewport lifecycle for Flutter widgets.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add lifecycle

With Flutter:

 $ flutter pub add lifecycle

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  lifecycle: ^1.0.0-alpha1

Alternatively, 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:lifecycle/lifecycle.dart';
80
likes
0
points
4.16k
downloads

Publisher

unverified uploader

Weekly Downloads

Composable app, route, page, and viewport lifecycle for Flutter widgets.

Repository (GitHub)
View/report issues

Topics

#lifecycle #navigator-observer #app-lifecycle-state #lifecycle-listener #widgets-lifecycle

License

unknown (license)

Dependencies

flutter

More

Packages that depend on lifecycle