native_state 1.1.1
native_state: ^1.1.1 copied to clipboard
Stores persistent state that can be restored when the app is relaunched after the process was killed.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add native_stateThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
native_state: ^1.1.1Alternatively, 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:native_state/native_state.dart';