MaterialStatePropertyAll<T> class
Null safety
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.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- value → T
-
The value of the property that will be used for all states.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
resolve(
Set< MaterialState> states) → T -
Returns a value of type
T
that depends onstates
.override -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited