shared_preferences_explorer 0.0.2
shared_preferences_explorer: ^0.0.2 copied to clipboard
On-screen viewing and editing of shared_preferences
shared_preferences_explorer #
On-screen viewing and editing of shared_preferences

Usage #
Wrap your root widget with SharedPreferencesExplorer.
Then tap the button, set by default to the Alignment.bottomLeft, to open.
void main() {
runApp(
SharedPreferencesExplorer(
// anchorAlignment: Alignment.bottomLeft,
// colorSchemeSeed: Colors.lightGreen,
child: YourApp(),
),
);
}
Or, directly displays if child is null.
void main() {
runApp(
const SharedPreferencesExplorer(),
// YourApp(),
);
}
Note #
- The timing of updates on your app's display after editing still depends on the implementation of your code.
- Make sure not to set
doublefor keys treated asintin your code, because this package does not distinguish betweenintanddouble.- Under the shared_preferences specification, it is not possible to distinguish whether an integer values were saved as
intordouble. Iinteger values can be retrieved using any ofget,getIntorgetDouble, no matter which method was used to save them.
- Under the shared_preferences specification, it is not possible to distinguish whether an integer values were saved as
- Throws an exception if
SharedPreferencesExploreris included in release mode.