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

    Class Scaffold

    Inheritance
    System.Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatefulWidget
    Scaffold
    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.material
    Syntax
    public class Scaffold : StatefulWidget

    Constructors

    Scaffold(Key, PreferredSizeWidget, Widget, Widget, FloatingActionButtonLocation, FloatingActionButtonAnimator, List<Widget>, Widget, Widget, Widget, Widget, Color, Nullable<Boolean>, Nullable<Boolean>, Boolean, DragStartBehavior)

    Declaration
    public Scaffold(Key key = null, PreferredSizeWidget appBar = null, Widget body = null, Widget floatingActionButton = null, FloatingActionButtonLocation floatingActionButtonLocation = null, FloatingActionButtonAnimator floatingActionButtonAnimator = null, List<Widget> persistentFooterButtons = null, Widget drawer = null, Widget endDrawer = null, Widget bottomNavigationBar = null, Widget bottomSheet = null, Color backgroundColor = null, bool? resizeToAvoidBottomPadding = default(bool? ), bool? resizeToAvoidBottomInset = default(bool? ), bool primary = true, DragStartBehavior drawerDragStartBehavior = DragStartBehavior.down)
    Parameters
    Type Name Description
    Key key
    PreferredSizeWidget appBar
    Widget body
    Widget floatingActionButton
    FloatingActionButtonLocation floatingActionButtonLocation
    FloatingActionButtonAnimator floatingActionButtonAnimator
    System.Collections.Generic.List<Widget> persistentFooterButtons
    Widget drawer
    Widget endDrawer
    Widget bottomNavigationBar
    Widget bottomSheet
    Color backgroundColor
    System.Nullable<System.Boolean> resizeToAvoidBottomPadding
    System.Nullable<System.Boolean> resizeToAvoidBottomInset
    System.Boolean primary
    DragStartBehavior drawerDragStartBehavior

    Fields

    appBar

    Declaration
    public readonly PreferredSizeWidget appBar
    Field Value
    Type Description
    PreferredSizeWidget

    backgroundColor

    Declaration
    public readonly Color backgroundColor
    Field Value
    Type Description
    Color

    body

    Declaration
    public readonly Widget body
    Field Value
    Type Description
    Widget

    bottomNavigationBar

    Declaration
    public readonly Widget bottomNavigationBar
    Field Value
    Type Description
    Widget

    bottomSheet

    Declaration
    public readonly Widget bottomSheet
    Field Value
    Type Description
    Widget

    drawer

    Declaration
    public readonly Widget drawer
    Field Value
    Type Description
    Widget

    drawerDragStartBehavior

    Declaration
    public readonly DragStartBehavior drawerDragStartBehavior
    Field Value
    Type Description
    DragStartBehavior

    endDrawer

    Declaration
    public readonly Widget endDrawer
    Field Value
    Type Description
    Widget

    floatingActionButton

    Declaration
    public readonly Widget floatingActionButton
    Field Value
    Type Description
    Widget

    floatingActionButtonAnimator

    Declaration
    public readonly FloatingActionButtonAnimator floatingActionButtonAnimator
    Field Value
    Type Description
    FloatingActionButtonAnimator

    floatingActionButtonLocation

    Declaration
    public readonly FloatingActionButtonLocation floatingActionButtonLocation
    Field Value
    Type Description
    FloatingActionButtonLocation

    persistentFooterButtons

    Declaration
    public readonly List<Widget> persistentFooterButtons
    Field Value
    Type Description
    System.Collections.Generic.List<Widget>

    primary

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

    resizeToAvoidBottomInset

    Declaration
    public readonly bool? resizeToAvoidBottomInset
    Field Value
    Type Description
    System.Nullable<System.Boolean>

    resizeToAvoidBottomPadding

    Declaration
    public readonly bool? resizeToAvoidBottomPadding
    Field Value
    Type Description
    System.Nullable<System.Boolean>

    Methods

    createState()

    Declaration
    public override State createState()
    Returns
    Type Description
    State
    Overrides
    StatefulWidget.createState()

    geometryOf(BuildContext)

    Declaration
    public static ValueListenable<ScaffoldGeometry> geometryOf(BuildContext context)
    Parameters
    Type Name Description
    BuildContext context
    Returns
    Type Description
    ValueListenable<ScaffoldGeometry>

    of(BuildContext, Boolean)

    Declaration
    public static ScaffoldState of(BuildContext context, bool nullOk = false)
    Parameters
    Type Name Description
    BuildContext context
    System.Boolean nullOk
    Returns
    Type Description
    ScaffoldState
    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