ObserverComponent class abstract
Base class for components that observes the build execution of it's descendants in the Component tree.
See also:
- StatefulComponent and State, for components that can build differently several times over their lifetime.
- StatelessComponent, for components that always build the same way given a particular configuration and ambient state.
- InheritedComponent, for components that introduce ambient state that can be read by descendant components.
- Component, for an overview of components in general.
Constructors
- ObserverComponent({required Component child, Key? key})
-
Abstract const constructor. This constructor enables subclasses to provide
const constructors so that they can be used in const expressions.
const
Properties
Methods
-
createElement(
) → ObserverElement -
Inflates this configuration to a concrete instance.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited