StorageHelper class

Helper class for managing local storage operations.

Uses SharedPreferences to persist data across app sessions.

Constructors

StorageHelper([SharedPreferences? _prefs])
Creates a StorageHelper instance.

Properties

hashCode int
The hash code for this object.
no setterinherited
isTutorialShown bool
Returns whether the tutorial has been shown.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearAll() Future<bool>
Clears all stored data.
init() Future<void>
Initializes the shared preferences instance.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetTutorial() Future<bool>
Resets the tutorial shown flag.
setTutorialShown() Future<bool>
Marks the tutorial as shown.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

tutorialShownKey → const String
Storage key for the tutorial shown flag.