FourStateMapper class final
State handler for pages that only have 4 different states.
Which are described in FourStateSheet enum.
- Implemented types
Constructors
- FourStateMapper()
-
const
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
-
index(
FourStateSheet state) → int -
Returns state index for a given state.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldPopOn(
MultiStateSheetController controller) → bool -
Controls how sheet should react on
popevents.override -
state(
int state) → FourStateSheet -
Returns mapped state for a given index.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
barrierColorDelegate
→ const StatefulSheetDelegateFunction<
Color?, FourStateSheet> - Delegate method for calculate barrier color inside sheet.