restoration_kit 0.1.1
restoration_kit: ^0.1.1 copied to clipboard
Effortless state restoration: survive process death without RestorationMixin ceremony. One builder widget, drop-in controllers, and a debug guardian for Android's 1 MB limit.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add restoration_kitThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
restoration_kit: ^0.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:restoration_kit/restoration_kit.dart';