scheduleAttachRootWidget method

  1. @protected
void scheduleAttachRootWidget(
  1. Widget rootWidget
)

Schedules a Timer for attaching the root widget.

This is called by runApp to configure the widget tree. Consider using attachRootWidget if you want to build the widget tree synchronously.

Implementation

@protected
void scheduleAttachRootWidget(Widget rootWidget) {
  Timer.run(() {
    attachRootWidget(rootWidget);
  });
}