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
-
- Object
- DeactNode
- ComponentNode
- GlobalStateProviderComponent
- Implemented types
Properties
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