lifecycle_controller 2.0.2 lifecycle_controller: ^2.0.2 copied to clipboard
A Flutter library for simplified state and lifecycle management. Offers structured handling of screen events, local state, async operations, and UI updates, promoting clean architecture and maintainab [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add lifecycle_controller
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
lifecycle_controller: ^2.0.2
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:lifecycle_controller/lifecycle_controller.dart';