InitialPanelState enum Null safety

This decides the initial state of the panel.

If this is a two state panel and a value of collapsed is given, it will be considered as expanded.

NOTE that this value can't be changed once the panel is created.

Inheritance

Constructors

InitialPanelState()
const

Values

dismissed → const InitialPanelState

The panel has position of 0.0. Means, panel is totally invisible.

To see the panel, call close(), collapse() or expand() from the PanelController.

const InitialPanelState(0)
closed → const InitialPanelState

The panel is having PanelSize.closedHeight.

This is the default state.

const InitialPanelState(1)
collapsed → const InitialPanelState

The panel is having PanelSize.collapsedHeight.

const InitialPanelState(2)
expanded → const InitialPanelState

The panel is having PanelSize.collapsedHeight.

const InitialPanelState(3)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<InitialPanelState>
A constant List of the values in this enum, in order of their declaration.
[dismissed, closed, collapsed, expanded]