SharedPreferencesMonitor class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
getter/setter pair
-
getter/setter pair
Static Methods
-
getKey(
) → GlobalKey< NavigatorState> - Return the instance of the GlobalKey.
-
getKeyValueInfo(
) → Map< String, dynamic> -
Return a map containing the keys currently stored on the
SharedPreferences
and its values. -
init(
{GlobalKey< NavigatorState> ? key}) → Future<void> -
Initializes the instance of the
SharedPreferences
. Should be execute on the startup of the app, mainly on the main method. -
setKey(
GlobalKey< NavigatorState> key) → void - Set the navigatorKey so the monitor can navigate to the Monitor Page
-
showPage(
) → void - Navigate to the monitor page, where the user can add or delete preferences