StoryboardApp class

A material app intended to display a Storyboard.

Sample code

runApp(StoryboardApp([
    MyFancyWidgetStory(),
    MyBasicWidgetStory(),
]));
Inheritance

Constructors

StoryboardApp(List<Story> stories, {ThemeData theme})
Creates a new Storyboard App. [...]

Properties

actions Map<LocalKey, ActionFactory>
The default map of intent keys to actions for the application. [...]
final, inherited
builder TransitionBuilder
A builder for inserting widgets above the Navigator but below the other widgets created by the WidgetsApp widget, or for replacing the Navigator entirely. [...]
final, inherited
checkerboardOffscreenLayers bool
Turns on checkerboarding of layers rendered to offscreen bitmaps.
final, inherited
checkerboardRasterCacheImages bool
Turns on checkerboarding of raster cache images.
final, inherited
color Color
The primary color to use for the application in the operating system interface. [...]
final, inherited
darkTheme ThemeData
The ThemeData to use when a 'dark mode' is requested by the system. [...]
final, inherited
debugShowCheckedModeBanner bool
Turns on a little "DEBUG" banner in checked mode to indicate that the app is in checked mode. This is on by default (in checked mode), to turn it off, set the constructor argument to false. In release mode this has no effect. [...]
final, inherited
debugShowMaterialGrid bool
Turns on a GridPaper overlay that paints a baseline grid Material apps. [...]
final, inherited
hashCode int
The hash code for this object. [...]
@nonVirtual, read-only, inherited
home Widget
The widget for the default route of the app (Navigator.defaultRouteName, which is /). [...]
final, inherited
initialRoute String
The name of the first route to show, if a Navigator is built. [...]
final, inherited
key Key
Controls how one widget replaces another widget in the tree. [...]
final, inherited
locale Locale
The initial locale for this app's Localizations widget is based on this value. [...]
final, inherited
localeListResolutionCallback LocaleListResolutionCallback
This callback is responsible for choosing the app's locale when the app is started, and when the user changes the device's locale. [...]
final, inherited
localeResolutionCallback LocaleResolutionCallback
The signature of WidgetsApp.localeResolutionCallback. [...]
final, inherited
localizationsDelegates Iterable<LocalizationsDelegate>
The delegates for this app's Localizations widget. [...]
final, inherited
A key to use when building the Navigator. [...]
final, inherited
The list of observers for the Navigator created for this app. [...]
final, inherited
onGenerateInitialRoutes InitialRouteListFactory
The routes generator callback used for generating initial routes if initialRoute is provided. [...]
final, inherited
onGenerateRoute RouteFactory
The route generator callback used when the app is navigated to a named route. [...]
final, inherited
onGenerateTitle GenerateAppTitle
If non-null this callback function is called to produce the app's title string, otherwise title is used. [...]
final, inherited
onUnknownRoute RouteFactory
Called when onGenerateRoute fails to generate a route, except for the initialRoute. [...]
final, inherited
routes Map<String, WidgetBuilder>
The application's top-level routing table. [...]
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
shortcuts Map<LogicalKeySet, Intent>
The default map of keyboard shortcuts to intents for the application. [...]
final, inherited
showPerformanceOverlay bool
Turns on a performance overlay. [...]
final, inherited
showSemanticsDebugger bool
Turns on an overlay that shows the accessibility information reported by the framework.
final, inherited
supportedLocales Iterable<Locale>
The list of locales that this app has been localized for. [...]
final, inherited
theme ThemeData
Default visual properties, like colors fonts and shapes, for this app's material widgets. [...]
final, inherited
themeMode ThemeMode
Determines which theme will be used by the application if both theme and darkTheme are provided. [...]
final, inherited
title String
A one-line description used by the device to identify the app for the user. [...]
final, inherited

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree. [...]
inherited
createState() → _MaterialAppState
Creates the mutable state for this widget at a given location in the tree. [...]
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children. [...]
@protected, inherited
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
Returns 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. [...]
@nonVirtual, inherited