// Copyright 2014 The Flutter Authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.import'package:flutter/material.dart';finalGlobalKey<NavigatorState>navKey=GlobalKey(debugLabel:'mainNavigator');Map<String,WidgetBuilder>?appRoutes;finalMap<String,WidgetBuilder>_defaultAppRoutes=<String,WidgetBuilder>{'/':(BuildContextcontext)=>Container(),};voidmain(){runApp(MyApp(appRoutes??_defaultAppRoutes));}classMyAppextendsStatelessWidget{constMyApp(this.routes,{Key?key}):super(key:key);finalMap<String,WidgetBuilder>routes;@overrideWidgetbuild(BuildContextcontext){returnMaterialApp(key:constKey('mainapp'),navigatorKey:navKey,theme:ThemeData(fontFamily:'RobotoMono'),title:'Integration Test App',routes:routes,);}}