BuildOwner class
Constructors
Properties
- debugBuilding → bool
-
Whether this widget tree is in the build phase.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFirstBuild → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
completeInitialBuild(
Element element, void buildCallback()) → void -
lockState(
dynamic callback()) → Future< void> -
Establishes a scope in which calls to State.setState are forbidden, and
calls the given
callback
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
performBuild(
) → void -
performInitialBuild(
Element element, void completeBuild()) → Future< void> -
performRebuildOn(
Element child, void whenComplete()) → void -
Rebuilds
child
and correctly accounts for any asynchronous operations that can occur during the initial build of the app. We want the component and element apis to stay synchronous, so this delays the execution ofchild.performRebuild()
instead of calling it directly. -
scheduleBuildFor(
Element element) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited