GlobalStateProviderComponent<T> class

A GlobalStateProviderComponent introduces a State in the node hierarchy, that is accessible by every component beneath the provider. The components can just read that state or change the state. If the state is changed everything beneath the provider will be rerendered.

See also ComponentContext.globalState.

Inheritance
Implemented types

Properties

hashCode int
The hash code for this object.
no setterinherited
key Object?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(ComponentContext context) DeactNode
Override this method to render the content of the component.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited