ControlRootSetup class

Setup for actual ControlRoot and ControlRootScope. Passed to AppWidgetBuilder.

Properties

args ControlArgs
no setter
generateRoute RouteFactory?
no setter
hashCode int
The hash code for this object.
no setterinherited
key GlobalObjectKey<State<StatefulWidget>>
no setter
locale Locale?
Current app locale that can be passed to WidgetsApp.locale.
no setter
localization Localino?
Reference to BaseLocalization to provide actual localization settings.
no setter
localizationDelegate LocalinoDelegate
Localization delegate for WidgetsApp.localizationsDelegates. Pass this delegate only if using LocalizationsDelegate type of localization. Also use GlobalMaterialLocalizations.delegate and others 'Global' Flutter delegates when setting this delegate.
no setter
localKey ValueKey<String>
Key for wrapping Widget. This key is combination of some setup properties, so Widget Tree can decide if is time to rebuild.
no setter
rootState ControlRootState?
no setter
routing RoutingProvider?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
session String
final
state AppState
Current AppState.
no setter
supportedLocales List<Locale>
List of supported locales for WidgetsApp.supportedLocales. Also use GlobalMaterialLocalizations.delegate and others 'Global' Flutter delegates when setting supported locales.
no setter
theme ThemeData?
Returns active ThemeData of ControlTheme.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
title(String localizationKey, String defaultValue) String
Checks if BaseLocalization is ready and tries to localize given localizationKey. defaultValue - Fallback if localization isn't ready or localizationKey is not found.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited