state_lifecycle_observer 0.0.9 copy "state_lifecycle_observer: ^0.0.9" to clipboard
state_lifecycle_observer: ^0.0.9 copied to clipboard

A reusable Flutter state observer pattern implementation.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add state_lifecycle_observer

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

dependencies:
  state_lifecycle_observer: ^0.0.9

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:state_lifecycle_observer/state_lifecycle_observer.dart';
2
likes
160
points
45
downloads

Publisher

unverified uploader

Weekly Downloads

A reusable Flutter state observer pattern implementation.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on state_lifecycle_observer