MaterialStates class

Controller for MaterialState set used by MaterialStatefulWidget You can update states by update function

Annotations

Constructors

MaterialStates()

Properties

disabled bool
getter/setter pair
dragged bool
getter/setter pair
error bool
getter/setter pair
focused bool
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
hovered bool
getter/setter pair
pressed bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrolledUnder bool
getter/setter pair
selected bool
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
update(MaterialState state, {required bool value}) bool

Operators

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