WidgetStatePropertyAll<T> class
Convenience class for creating a WidgetStateProperty that resolves to the given value for all states.
See also:
- MaterialStatePropertyAll, the Material specific version of
WidgetStatePropertyAll
.
- Implemented types
- Annotations
Constructors
- WidgetStatePropertyAll(T value)
-
Constructs a WidgetStateProperty that always resolves to the given
value.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- 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< WidgetState> 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.
override