auto_save_controller 1.0.0
auto_save_controller: ^1.0.0 copied to clipboard
A Flutter TextEditingController that automatically saves and loads local text drafts with built-in debounce, TTL expiry, and AppLifecycle awareness.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add auto_save_controllerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
auto_save_controller: ^1.0.0Alternatively, 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:auto_save_controller/auto_save_controller.dart';