IntStateMapper class final

A generic state handler for cases where a page can use any number of states.

Implemented types

Constructors

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