MaterialStatePropertyAll<T> class

Convenience class for creating a MaterialStateProperty that resolves to the given value for all states.

Implemented types

Constructors

MaterialStatePropertyAll(T value)
Constructs a MaterialStateProperty that always resolves to the given value.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T
The value of the property that will be used for all states.
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.
inherited