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

    Class Placeholder

    Inheritance
    Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatelessWidget
    Placeholder
    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 Placeholder : StatelessWidget

    Constructors

    Placeholder(Key, Color, Single, Single, Single)

    Declaration
    public Placeholder(Key key = null, Color color = null, float strokeWidth = 2F, float fallbackWidth = 400F, float fallbackHeight = 400F)
    Parameters
    Type Name Description
    Key key
    Color color
    Single strokeWidth
    Single fallbackWidth
    Single fallbackHeight

    Fields

    color

    Declaration
    public readonly Color color
    Field Value
    Type Description
    Color

    fallbackHeight

    Declaration
    public readonly float fallbackHeight
    Field Value
    Type Description
    Single

    fallbackWidth

    Declaration
    public readonly float fallbackWidth
    Field Value
    Type Description
    Single

    strokeWidth

    Declaration
    public readonly float strokeWidth
    Field Value
    Type Description
    Single

    Methods

    build(BuildContext)

    Declaration
    public override Widget build(BuildContext context)
    Parameters
    Type Name Description
    BuildContext context
    Returns
    Type Description
    Widget
    Overrides
    StatelessWidget.build(BuildContext)
    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