参数对应的详细介绍可以看这里点击这里
字段 | 类型 |
---|---|
navigatorKey(导航键) | GlobalKey<NavigatorState> |
home(主页) | Widget |
routes(路由) | Map<String, WidgetBuilder> |
initialRoute(初始路由) | String |
onGenerateRoute(生成路由) | RouteFactory |
onUnknownRoute(未知路由) | RouteFactory |
navigatorObservers(导航观察器) | List<NavigatorObserver> |
builder(建造者) | TransitionBuilder |
title(标题) | String |
onGenerateTitle(生成标题) | GenerateAppTitle |
color(颜色) | Color |
theme(主题) | ThemeData |
locale(地点) | Locale |
localizationsDelegates(本地化委托) | Iterable<LocalizationsDelegate<dynamic>> |
localeResolutionCallback(区域分辨回调) | LocaleResolutionCallback |
supportedLocales(支持区域) | Iterable<Locale> |
debugShowMaterialGrid(调试显示材质网格) | bool |
showPerformanceOverlay(显示性能叠加) | bool |
checkerboardRasterCacheImages(棋盘格光栅缓存图像) | bool |
checkerboardOffscreenLayers(棋盘格层) | bool |
showSemanticsDebugger(显示语义调试器) | bool |
debugShowCheckedModeBanner(调试显示检查模式横幅) | bool |