DrawerState enum

State of BottomDrawer.

Inheritance
Available extensions

Values

opened → const DrawerState

Drawer is fully opened.

closed → const DrawerState

Drawer is fully closed. (first state)

opening → const DrawerState

Drawer is now opening.

closing → const DrawerState

Drawer is now closing.

Properties

canExpanded bool
BottomDrawer.height is... null : Expand only when canExpanded. defined : Expand all time.
no setter
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
isFinished bool
Drawer is finished (opened or closed).
no setter
isRunning bool
Drawer is running (opening or closing).
no setter
nextFinishState DrawerState
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when({dynamic opened()?, dynamic closed()?, dynamic opening()?, dynamic closing()?}) → void

Operators

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

Static Methods

getRunningState({required bool isOpening}) DrawerState

Constants

values → const List<DrawerState>
A constant List of the values in this enum, in order of their declaration.