ValueState<T> class

Constructors

ValueState({T? primary, T? secondary, T? ternary, T? disable, T? error, T? hover, T? valid})
const
ValueState.activation({T? activated, T? unactivated, T? disabled})
factory
ValueState.selection({T? selected, T? unselected, T? disabled})
factory

Properties

disable → T?
final
error → T?
final
hashCode int
The hash code for this object.
no setterinherited
hover → T?
final
primary → T?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondary → T?
final
ternary → T?
final
valid → T?
final

Methods

activator(bool activated, [bool enabled = true]) → T?
detect(bool activated, {bool enabled = true, bool error = false, bool focused = false, bool hover = false, bool valid = false}) → T?
fromController(ViewController controller) → T?
fromType(ValueStateType state) → T?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
selector(bool selected, [bool enabled = true]) → T?
toString() String
A string representation of this object.
inherited

Operators

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