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
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