shared_preferences_explorer 0.1.0
shared_preferences_explorer: ^0.1.0 copied to clipboard
A Flutter package for on-screen viewing of shared_preferences. Supports SharedPreferences, SharedPreferencesAsync, and SharedPreferencesWithCache.
shared_preferences_explorer #
A Flutter package for on-screen viewing of shared_preferences.
Supports SharedPreferences
, SharedPreferencesAsync
, and SharedPreferencesWithCache
.
![]() |
![]() |
---|
Usage #
Wrap your app's root widget with SharedPreferencesExplorer
, and tap the anchor button to open.
The anchor button is draggable, and the initial position can be set using initialAnchorAlignment
.
void main() {
runApp(
SharedPreferencesExplorer(
// initialAnchorAlignment: AnchorAlignment.bottomLeft,
child: YourApp(),
),
);
}
Or, use SharedPreferencesExplorerScreen
in your app's debug menu, etc.
Navigator.of(context).push(
MaterialPageRoute<void>(
builder: (context) => const SharedPreferencesExplorerScreen(),
),
);