Class KeyedSubtree | UIWidgets | 1.5.4-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class KeyedSubtree

    Inheritance
    Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatelessWidget
    KeyedSubtree
    Inherited Members
    StatelessWidget.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 KeyedSubtree : StatelessWidget

    Constructors

    KeyedSubtree(Key, Widget)

    Declaration
    public KeyedSubtree(Key key, Widget child = null)
    Parameters
    Type Name Description
    Key key
    Widget child

    Fields

    child

    Declaration
    public readonly Widget child
    Field Value
    Type Description
    Widget

    Methods

    build(BuildContext)

    Declaration
    public override Widget build(BuildContext context)
    Parameters
    Type Name Description
    BuildContext context
    Returns
    Type Description
    Widget
    Overrides
    StatelessWidget.build(BuildContext)

    ensureUniqueKeysForList(IEnumerable<Widget>, Int32)

    Declaration
    public static List<Widget> ensureUniqueKeysForList(IEnumerable<Widget> items, int baseIndex = 0)
    Parameters
    Type Name Description
    IEnumerable<Widget> items
    Int32 baseIndex
    Returns
    Type Description
    List<Widget>

    wrap(Widget, Int32)

    Declaration
    public static KeyedSubtree wrap(Widget child, int childIndex)
    Parameters
    Type Name Description
    Widget child
    Int32 childIndex
    Returns
    Type Description
    KeyedSubtree
    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