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

    Class FocusScope

    Inheritance
    System.Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatefulWidget
    FocusScope
    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 FocusScope : StatefulWidget

    Constructors

    FocusScope(FocusScopeNode, Widget, Key, Boolean)

    Declaration
    public FocusScope(FocusScopeNode node, Widget child, Key key = null, bool autofocus = false)
    Parameters
    Type Name Description
    FocusScopeNode node
    Widget child
    Key key
    System.Boolean autofocus

    Fields

    autofocus

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

    child

    Declaration
    public readonly Widget child
    Field Value
    Type Description
    Widget

    node

    Declaration
    public readonly FocusScopeNode node
    Field Value
    Type Description
    FocusScopeNode

    Methods

    ancestorsOf(BuildContext)

    Declaration
    public static List<FocusScopeNode> ancestorsOf(BuildContext context)
    Parameters
    Type Name Description
    BuildContext context
    Returns
    Type Description
    System.Collections.Generic.List<FocusScopeNode>

    createState()

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

    of(BuildContext)

    Declaration
    public static FocusScopeNode of(BuildContext context)
    Parameters
    Type Name Description
    BuildContext context
    Returns
    Type Description
    FocusScopeNode
    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