CupertinoApp简介
IOS风格的应用框架,在此基础上可以使用Cupertino Widgets(IOS风格的组件)。其继承自WidgetsApp。
CupertinoApp属性概要
CupertinoApp({// 键Key key,// 导航键this.navigatorKey,// 主页this.home,// 主题this.theme,// 路由this.routes = const <String, WidgetBuilder>{},// 初始路由this.initialRoute,// 生成路由this.onGenerateRoute,// 未知路由this.onUnknownRoute,// 导航观察器this.navigatorObservers = const <NavigatorObserver>[],// 生成器this.builder,// 标题this.title = '',// 生成标题this.onGenerateTitle,// 颜色this.color,// 区域this.locale,// 本地化委托this.localizationsDelegates,// 语言环境列表解析回调this.localeListResolutionCallback,// 语言环境解析回调this.localeResolutionCallback,// 支持地区this.supportedLocales = const <Locale>[Locale('en', 'US')],// 显示性能叠加this.showPerformanceOverlay = false,// 棋盘格光栅缓存图像this.checkerboardRasterCacheImages = false,// 棋盘格层this.checkerboardOffscreenLayers = false,// 显示语义调试器this.showSemanticsDebugger = false,// 调试显示检查模式横幅this.debugShowCheckedModeBanner = true,})
