TwistyState enum Null safety

State of the Expandable items. root <- No Node value (cannot collapse) leaf <- Node with no children (cannot expand) open <- Children expanded, can be collapsed closed <- Children collapsed, can be expanded

Inheritance

Constructors

TwistyState()
const

Values

root → const TwistyState
const TwistyState(0)
open → const TwistyState
const TwistyState(1)
closed → const TwistyState
const TwistyState(2)
leaf → const TwistyState
const TwistyState(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<TwistyState>
A constant List of the values in this enum, in order of their declaration.
[root, open, closed, leaf]