CupertinoSnackApp class Null safety

A CupertinoApp that also allows to display snack bar messages

Inheritance

Constructors

CupertinoSnackApp({Key? key, Key? widgetKey, GlobalKey<NavigatorState>? navigatorKey, Widget? home, CupertinoThemeData? theme, String? initialRoute, Route onGenerateRoute(RouteSettings)?, List<Route> onGenerateInitialRoutes(String)?, Route onUnknownRoute(RouteSettings)?, Map<String, Widget Function(BuildContext)> routes = const <String, WidgetBuilder>{}, String onGenerateTitle(BuildContext)?, List<NavigatorObserver> navigatorObservers = const <NavigatorObserver>[], Widget builder(BuildContext, Widget?)?, String title = '', Color? color, Locale? locale, Iterable<LocalizationsDelegate>? localizationsDelegates, Locale? localeListResolutionCallback(List<Locale>?, Iterable<Locale>)?, Locale? localeResolutionCallback(Locale?, Iterable<Locale>)?, Iterable<Locale> supportedLocales = const <Locale>[Locale('en', 'US')], bool showPerformanceOverlay = false, bool checkerboardRasterCacheImages = false, bool checkerboardOffscreenLayers = false, bool showSemanticsDebugger = false, bool debugShowCheckedModeBanner = true, Map<LogicalKeySet, Intent>? shortcuts, Map<Type, Action<Intent>>? actions, String? restorationScopeId, ScrollBehavior? scrollBehavior, GlobalKey<ScaffoldMessengerState>? scaffoldMessengerKey})
const

Properties

actions Map<Type, Action<Intent>>?
final
builder → (Widget Function?(BuildContext, Widget?)?)
final
checkerboardOffscreenLayers bool
final
checkerboardRasterCacheImages bool
final
color Color?
final
debugShowCheckedModeBanner bool
final
hashCode int
The hash code for this object.
@nonVirtualread-onlyinherited
home Widget?
final
initialRoute String?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
locale Locale?
final
localeListResolutionCallback → (Locale? Function?(List<Locale>?, Iterable<Locale>)?)
final
localeResolutionCallback → (Locale? Function?(Locale?, Iterable<Locale>)?)
final
localizationsDelegates Iterable<LocalizationsDelegate>?
final
final
final
onGenerateInitialRoutes → (List<Route> Function?(String)?)
final
onGenerateRoute → (Route Function?(RouteSettings)?)
final
onGenerateTitle → (String Function?(BuildContext)?)
final
onUnknownRoute → (Route Function?(RouteSettings)?)
final
restorationScopeId String?
final
routes Map<String, Widget Function(BuildContext)>
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
scaffoldMessengerKey GlobalKey<ScaffoldMessengerState>?
final
scrollBehavior ScrollBehavior?
final
shortcuts Map<LogicalKeySet, Intent>?
final
showPerformanceOverlay bool
final
showSemanticsDebugger bool
final
supportedLocales Iterable<Locale>
final
theme CupertinoThemeData?
final
title String
final
widgetKey Key?
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.
@protectedinherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.
@nonVirtualinherited