ButtonRichStateProperty<T> class

Inheritance

Constructors

ButtonRichStateProperty(T? hover, T? press, T? selection, T? focus)

Properties

focus → T?
final
hashCode int
The hash code for this object.
no setteroverride
hover → T?
final
press → T?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selection → T?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(Set<MaterialState> states) → T?
Returns a value of type T that depends on states.
override
toString() String
A string representation of this object.
override

Operators

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

Static Methods

onNull<T>(T? hovered, T? pressed, T? selected, T? focused) ButtonRichStateProperty<T>?