shared_preferences_debugger 0.1.0
shared_preferences_debugger: ^0.1.0 copied to clipboard
This package is designed to simplify the debugging of the shared_preferences plugin package.
shared_preferences_debugger #
This package is designed to simplify the debugging of the shared_preferences plugin package.
By using this package, you can easily display, copy to clipboard, and delete the data stored in shared_preferences.
Sample |
---|
![]() |
Usage #
Just use SharedPreferencesDebugPage()
anywhere you want.
SharedPreferencesDebugPage()
is wrapper of Scaffold
, so it is recommend to use as new screen like following code..
IconButton(
icon: const Icon(Icons.bug_report),
onPressed: () {
Navigator.of(context).push<void>(
MaterialPageRoute(
builder: (context) => const SharedPreferencesDebugPage(),
),
);
},
),