BrowserAppBinding class

Global component binding for the browser

Inheritance
Mixed-in types

Constructors

BrowserAppBinding()

Properties

attachBetween ↔ (Node, Node)?
getter/setter pair
attachTarget String
getter/setter pair
currentUri Uri
The currently active uri. On the server, this is the requested uri. On the client, this is the currently visited uri in the browser.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
isClient bool
Whether the current app is run on the client (in the browser)
no setteroverride
rootElement RenderObjectElement?
The Element that is at the root of the hierarchy.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schedulerPhase SchedulerPhase
no setterinherited

Methods

addPostFrameCallback(VoidCallback callback) → void
inherited
attachRootComponent(Component app, {String attachTo = 'body', (Node, Node)? attachBetween}) → void
Sets app as the new root of the component tree and performs an initial build
override
completeInitialFrame() → void
inherited
createRootBuildOwner() BuildOwner
inherited
createRootRenderObject() RenderObject
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scheduleBuild(VoidCallback buildCallback) → void
Schedules a build and ultimately calls handleFrame with the provided buildCallback
inherited
scheduleFrame(VoidCallback frameCallback) → void
Schedules a frame with the provided frameCallback
override
toString() String
A string representation of this object.
inherited

Operators

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