mount method
Mounts the app without async initialization.
factory is called with no arguments and must return the root component.
AppBuilder()
.title('My App')
.mount(() => App());
Implementation
void mount(Component Function() factory) {
_applyDocumentConfig();
final component = factory();
mountApp(component, selector: _selector);
}