runApp function

void runApp(
  1. Widget app, {
  2. bool usePathStrategy = true,
  3. bool setupMetaSEO = true,
})

Implementation

void runApp(Widget app,
    {bool usePathStrategy = true, bool setupMetaSEO = true}) async {
  if (kIsWeb) {
    if (usePathStrategy) {
      try {
        usePathUrlStrategy();
      } catch (e) {}
    }
    if (setupMetaSEO) {
      try {
        MetaSEO().config();
      } catch (e) {}
    }
  }
  m.runApp(app);
}