FirstRunManager class
Manages first-launch state for the app.
Constructors
- FirstRunManager({StorageService? storageService})
- Creates a manager backed by StorageService.
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
-
isFirstRun(
) → Future< bool> -
Returns
truewhen onboarding should be shown. -
markFirstRunComplete(
) → Future< void> - Marks first-run flow as completed.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resetFirstRun(
) → Future< void> - Resets the first-run flag for QA/debug scenarios.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited