Inheritance
System.Object
WidgetsApp
public class WidgetsApp : StatefulWidget
Constructors
Declaration
public WidgetsApp(Key key = null, GlobalKey<NavigatorState> navigatorKey = null, RouteFactory onGenerateRoute = null, RouteFactory onUnknownRoute = null, PageRouteFactory pageRouteBuilder = null, List<NavigatorObserver> navigatorObservers = null, string initialRoute = null, Dictionary<string, WidgetBuilder> routes = null, TransitionBuilder builder = null, TextStyle textStyle = null, Widget home = null, Locale locale = null, List<LocalizationsDelegate> localizationsDelegates = null, LocaleListResolutionCallback localeListResolutionCallback = null, LocaleResolutionCallback localeResolutionCallback = null, List<Locale> supportedLocales = null, bool showPerformanceOverlay = false)
Parameters
Fields
Declaration
public readonly TransitionBuilder builder
Field Value
Declaration
public readonly Widget home
Field Value
Declaration
public readonly string initialRoute
Field Value
Type |
Description |
System.String |
|
Declaration
public readonly Locale locale
Field Value
Declaration
public readonly LocaleListResolutionCallback localeListResolutionCallback
Field Value
Declaration
public readonly LocaleResolutionCallback localeResolutionCallback
Field Value
Declaration
public readonly List<LocalizationsDelegate> localizationsDelegates
Field Value
Declaration
public readonly GlobalKey<NavigatorState> navigatorKey
Field Value
Declaration
public readonly List<NavigatorObserver> navigatorObservers
Field Value
Declaration
public readonly RouteFactory onGenerateRoute
Field Value
Declaration
public readonly RouteFactory onUnknownRoute
Field Value
Declaration
public readonly PageRouteFactory pageRouteBuilder
Field Value
Declaration
public readonly Dictionary<string, WidgetBuilder> routes
Field Value
Type |
Description |
System.Collections.Generic.Dictionary<System.String, WidgetBuilder> |
|
Declaration
public readonly bool showPerformanceOverlay
Field Value
Type |
Description |
System.Boolean |
|
Declaration
public readonly List<Locale> supportedLocales
Field Value
Type |
Description |
System.Collections.Generic.List<Locale> |
|
textStyle
Declaration
public readonly TextStyle textStyle
Field Value
Declaration
public readonly Window window
Field Value
Methods
Declaration
public override State createState()
Returns
Overrides