ThreeStateMapper class final

State handler for pages that only have 3 different states.

Which are described in ThreeStateSheet enum.

Implemented types

Constructors

ThreeStateMapper()
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(ThreeStateSheet 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<ThreeStateSheet> controller) bool
Controls how sheet should react on pop events.
override
state(int state) ThreeStateSheet
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