Class WidgetsApp | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class WidgetsApp

    Inheritance
    System.Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatefulWidget
    WidgetsApp
    Inherited Members
    StatefulWidget.createElement()
    Widget.key
    Widget.toStringShort()
    Widget.debugFillProperties(DiagnosticPropertiesBuilder)
    Widget.canUpdate(Widget, Widget)
    CanonicalMixinDiagnosticableTree.pureWidget
    CanonicalMixinDiagnosticableTree.Equals(Object)
    CanonicalMixinDiagnosticableTree.GetHashCode()
    DiagnosticableTree.toStringShallow(String, DiagnosticLevel)
    DiagnosticableTree.toStringDeep(String, String, DiagnosticLevel)
    DiagnosticableTree.toDiagnosticsNode(String, DiagnosticsTreeStyle)
    DiagnosticableTree.debugDescribeChildren()
    Diagnosticable.ToString()
    Diagnosticable.toString(DiagnosticLevel)
    Namespace: Unity.UIWidgets.widgets
    Syntax
    public class WidgetsApp : StatefulWidget

    Constructors

    WidgetsApp(Key, GlobalKey<NavigatorState>, RouteFactory, RouteFactory, PageRouteFactory, List<NavigatorObserver>, String, Dictionary<String, WidgetBuilder>, TransitionBuilder, TextStyle, Widget, Locale, List<LocalizationsDelegate>, LocaleListResolutionCallback, LocaleResolutionCallback, List<Locale>, Boolean)

    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
    Type Name Description
    Key key
    GlobalKey<NavigatorState> navigatorKey
    RouteFactory onGenerateRoute
    RouteFactory onUnknownRoute
    PageRouteFactory pageRouteBuilder
    System.Collections.Generic.List<NavigatorObserver> navigatorObservers
    System.String initialRoute
    System.Collections.Generic.Dictionary<System.String, WidgetBuilder> routes
    TransitionBuilder builder
    TextStyle textStyle
    Widget home
    Locale locale
    System.Collections.Generic.List<LocalizationsDelegate> localizationsDelegates
    LocaleListResolutionCallback localeListResolutionCallback
    LocaleResolutionCallback localeResolutionCallback
    System.Collections.Generic.List<Locale> supportedLocales
    System.Boolean showPerformanceOverlay

    Fields

    builder

    Declaration
    public readonly TransitionBuilder builder
    Field Value
    Type Description
    TransitionBuilder

    home

    Declaration
    public readonly Widget home
    Field Value
    Type Description
    Widget

    initialRoute

    Declaration
    public readonly string initialRoute
    Field Value
    Type Description
    System.String

    locale

    Declaration
    public readonly Locale locale
    Field Value
    Type Description
    Locale

    localeListResolutionCallback

    Declaration
    public readonly LocaleListResolutionCallback localeListResolutionCallback
    Field Value
    Type Description
    LocaleListResolutionCallback

    localeResolutionCallback

    Declaration
    public readonly LocaleResolutionCallback localeResolutionCallback
    Field Value
    Type Description
    LocaleResolutionCallback

    localizationsDelegates

    Declaration
    public readonly List<LocalizationsDelegate> localizationsDelegates
    Field Value
    Type Description
    System.Collections.Generic.List<LocalizationsDelegate>

    navigatorKey

    Declaration
    public readonly GlobalKey<NavigatorState> navigatorKey
    Field Value
    Type Description
    GlobalKey<NavigatorState>

    navigatorObservers

    Declaration
    public readonly List<NavigatorObserver> navigatorObservers
    Field Value
    Type Description
    System.Collections.Generic.List<NavigatorObserver>

    onGenerateRoute

    Declaration
    public readonly RouteFactory onGenerateRoute
    Field Value
    Type Description
    RouteFactory

    onUnknownRoute

    Declaration
    public readonly RouteFactory onUnknownRoute
    Field Value
    Type Description
    RouteFactory

    pageRouteBuilder

    Declaration
    public readonly PageRouteFactory pageRouteBuilder
    Field Value
    Type Description
    PageRouteFactory

    routes

    Declaration
    public readonly Dictionary<string, WidgetBuilder> routes
    Field Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, WidgetBuilder>

    showPerformanceOverlay

    Declaration
    public readonly bool showPerformanceOverlay
    Field Value
    Type Description
    System.Boolean

    supportedLocales

    Declaration
    public readonly List<Locale> supportedLocales
    Field Value
    Type Description
    System.Collections.Generic.List<Locale>

    textStyle

    Declaration
    public readonly TextStyle textStyle
    Field Value
    Type Description
    TextStyle

    window

    Declaration
    public readonly Window window
    Field Value
    Type Description
    Window

    Methods

    createState()

    Declaration
    public override State createState()
    Returns
    Type Description
    State
    Overrides
    StatefulWidget.createState()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023