BaseCupertinoApp class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- BaseCupertinoApp
- Available extensions
Constructors
-
BaseCupertinoApp({Key? key, Widget? home, String title = '', ValueCallback<
BuildContext> ? initState, ValueCallback<BuildContext> ? dispose, CupertinoThemeData? theme, String? initialRoute, RouteFactory? onGenerateRoute, RouteFactory? onUnknownRoute, TransitionBuilder? builder, LocaleListResolutionCallback? localeListResolutionCallback, LocaleResolutionCallback? localeResolutionCallback, GenerateAppTitle? onGenerateTitle, Color? color, bool debugShowCheckedModeBanner = false, bool showPerformanceOverlay = false, bool checkerboardRasterCacheImages = false, bool checkerboardOffscreenLayers = false, bool showSemanticsDebugger = false, Map<String, WidgetBuilder> routes = const <String, WidgetBuilder>{}, Iterable<LocalizationsDelegate> localizationsDelegates = const <LocalizationsDelegate<dynamic>>[DefaultCupertinoLocalizations.delegate, GlobalCupertinoLocalizations.delegate, GlobalMaterialLocalizations.delegate, GlobalWidgetsLocalizations.delegate], Locale? locale = const Locale('zh'), Iterable<Locale> supportedLocales = const <Locale>[Locale('zh', 'CH'), Locale('en', 'US')], ScrollBehavior? scrollBehavior, Map<LogicalKeySet, Intent> ? shortcuts, Map<Type, Action< ? actions, InitialRouteListFactory? onGenerateInitialRoutes, String? restorationScopeId, ValueCallback<Intent> >BuildContext> ? deactivate, ValueCallback<BuildContext> ? onInactive, ValueCallback<BuildContext> ? onPaused, ValueCallback<BuildContext> ? onDetached, ValueCallback<BuildContext> ? onResumed, ValueCallback<BuildContext> ? onHidden}) -
const
Properties
-
actions
→ Map<
Type, Action< ?Intent> > -
final
- builder → TransitionBuilder?
-
建造者
final
- checkerboardOffscreenLayers → bool
-
final
- checkerboardRasterCacheImages → bool
-
棋盘格光栅缓存图像
final
- color → Color?
-
颜色
final
-
deactivate
→ ValueCallback<
BuildContext> ? -
deactivate
final
- debugShowCheckedModeBanner → bool
-
final
-
dispose
→ ValueCallback<
BuildContext> ? -
dispose
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- home → Widget?
-
主页
final
- initialRoute → String?
-
初始路由
final
-
initState
→ ValueCallback<
BuildContext> ? -
组件初始化
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- locale → Locale?
-
地点
final
- localeListResolutionCallback → LocaleListResolutionCallback?
-
区域分辨回调
final
- localeResolutionCallback → LocaleResolutionCallback?
-
final
-
localizationsDelegates
→ Iterable<
LocalizationsDelegate> -
本地化委托
final
-
导航键
final
-
导航观察器
final
-
onDetached
→ ValueCallback<
BuildContext> ? -
应用程序可见,前台 从后台切换前台
Application visibility, foreground from background to foreground
final
- onGenerateInitialRoutes → InitialRouteListFactory?
-
final
- onGenerateRoute → RouteFactory?
-
生成路由
final
- onGenerateTitle → GenerateAppTitle?
-
生成标题
final
-
onHidden
→ ValueCallback<
BuildContext> ? -
hidden
final
-
onInactive
→ ValueCallback<
BuildContext> ? -
处于这种状态的应用程序应该假设它们可能在任何时候暂停。前台
Applications in this state should assume that they may pause at any time. The front desk
final
-
onPaused
→ ValueCallback<
BuildContext> ? -
应用程序不可见,后台 切换后台
Application not visible, background switch background
final
-
onResumed
→ ValueCallback<
BuildContext> ? -
resumed
final
- onUnknownRoute → RouteFactory?
-
未知路由
final
- restorationScopeId → String?
-
final
-
routes
→ Map<
String, WidgetBuilder> -
路由
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollBehavior → ScrollBehavior?
-
final
-
shortcuts
→ Map<
LogicalKeySet, Intent> ? -
final
- showPerformanceOverlay → bool
-
显示性能叠加
final
- showSemanticsDebugger → bool
-
显示语义调试器
final
-
supportedLocales
→ Iterable<
Locale> -
支持区域
final
- theme → CupertinoThemeData?
-
Cupertino主题
final
- title → String
-
标题
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited