DesignFlowApp class

Inheritance

Constructors

DesignFlowApp.new({Key? key, required String token, required List<void Function()> dependenciesInitializers, required RouterConfig<Object> router, required Map<String, Widget Function()> components, required Map<String, String Function()> mapComponentsIDToName, required GlobalKey<NavigatorState> navigatorKey, ThemeData? theme, BlocObserver? blocObserver, bool pathUrlStrategyEnabled = true, bool loadThemeFromLocalStorage = true, dynamic onAppStateChanged(DesignFlowAppState)?, dynamic onDependenciesInitialized(BuildContext)?, dynamic onCubitsCreated(BuildContext)?, Translations translations = const EmptyTranslations(), Locale? initialLocale, Locale fallbackLocale = const Locale('en', 'US'), Widget? errorView, Widget? splashView, List<BlocProvider<StateStreamableSource<Object?>> Function()> blocProviders = const [], Iterable<LocalizationsDelegate>? localizationsDelegates, Iterable<Locale> supportedLocales = const <Locale>[Locale('en', 'US')]})

Properties

blocObserver → BlocObserver?
final
blocProviders List<BlocProvider<StateStreamableSource<Object?>> Function()>
final
components Map<String, Widget Function()>
final
dependenciesInitializers List<void Function()>
final
errorView Widget?
final
fallbackLocale Locale
final
hashCode int
The hash code for this object.
no setterinherited
initialLocale Locale
latefinal
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
loadThemeFromLocalStorage bool
final
localizationsDelegates Iterable<LocalizationsDelegate>?
final
mapComponentsIDToName Map<String, String Function()>
final
final
onAppStateChanged → dynamic Function(DesignFlowAppState)?
final
onCubitsCreated → dynamic Function(BuildContext)?
final
onDependenciesInitialized → dynamic Function(BuildContext)?
final
pathUrlStrategyEnabled bool
final
router RouterConfig<Object>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
splashView Widget?
final
supportedLocales Iterable<Locale>
final
theme ThemeData?
final
token String
final
translations → Translations
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, int wrapWidth = 65}) 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

Static Properties

systemLocales List<Locale>
no setter