WidgetStatePropertyAll<T> class

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

See also:

Implemented types

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