SingleValueDelegate<T> class

Stores an immutable value.

Inheritance

Constructors

SingleValueDelegate(T value)
Initializes value for subclasses.

Properties

value → T
The member value should not be mutated directly.
final
context BuildContext
The location in the tree where this widget builds. [...]
read-only, inherited
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
setState StateSetter
Notify the framework that the internal state of this object has changed. [...]
@protected, read-only, inherited

Methods

didUpdateDelegate(covariant StateDelegate old) → void
Called whenever State.didUpdateWidget is called [...]
@mustCallSuper, @protected, inherited
dispose() → void
Called when DelegateWidget is unmounted or if it is rebuilt with a StateDelegate of a different runtimeType.
@mustCallSuper, @protected, inherited
initDelegate() → void
Called on State.initState or after DelegateWidget is rebuilt with a StateDelegate of a different runtimeType.
@mustCallSuper, @protected, inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited