attachRootComponent method
void
attachRootComponent(})
override
Sets app
as the new root of the component tree and performs an initial build
Implementation
@override
void attachRootComponent(Component app, {String attachTo = 'body', (Node, Node)? attachBetween}) {
attachTarget = attachTo;
this.attachBetween = attachBetween;
super.attachRootComponent(app);
}