simple_lifecycle 0.0.4 copy "simple_lifecycle: ^0.0.4" to clipboard
simple_lifecycle: ^0.0.4 copied to clipboard

The simple_lifecycle package provides a simple and intuitive way to manage the state of your Flutter application. It allows you to categorize the app's lifecycle events into two distinct state, active [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add simple_lifecycle

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

dependencies:
  simple_lifecycle: ^0.0.4

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:simple_lifecycle/simple_lifecycle.dart';
2
likes
135
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

The simple_lifecycle package provides a simple and intuitive way to manage the state of your Flutter application. It allows you to categorize the app's lifecycle events into two distinct state, active and paused. The philosophy is that users are in two binary states, either active or inactive.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on simple_lifecycle