shared_preferences_explorer 0.0.1
shared_preferences_explorer: ^0.0.1 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
double
for keys treated asint
in your code, because this package does not distinguish betweenint
anddouble
1. - Throws an exception if
SharedPreferencesExplorer
is included in release mode.