runApp function

BrowserAppBinding runApp(
  1. Component app, {
  2. String attachTo = 'body',
})

Main entry point for the browser app

Implementation

BrowserAppBinding runApp(Component app, {String attachTo = 'body'}) {
  return BrowserAppBinding()..attachRootComponent(app, attachTo: attachTo);
}