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

    Class InputDecorator

    Inheritance
    Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatefulWidget
    InputDecorator
    Inherited Members
    StatefulWidget.createElement()
    Widget.key
    Widget.toStringShort()
    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 InputDecorator : StatefulWidget

    Constructors

    InputDecorator(Key, InputDecoration, TextStyle, Nullable<TextAlign>, Boolean, Boolean, Boolean, Widget)

    Declaration
    public InputDecorator(Key key = null, InputDecoration decoration = null, TextStyle baseStyle = null, TextAlign? textAlign = default(TextAlign? ), bool isFocused = false, bool expands = false, bool isEmpty = false, Widget child = null)
    Parameters
    Type Name Description
    Key key
    InputDecoration decoration
    TextStyle baseStyle
    Nullable<TextAlign> textAlign
    Boolean isFocused
    Boolean expands
    Boolean isEmpty
    Widget child

    Fields

    baseStyle

    Declaration
    public readonly TextStyle baseStyle
    Field Value
    Type Description
    TextStyle

    child

    Declaration
    public readonly Widget child
    Field Value
    Type Description
    Widget

    decoration

    Declaration
    public readonly InputDecoration decoration
    Field Value
    Type Description
    InputDecoration

    expands

    Declaration
    public readonly bool expands
    Field Value
    Type Description
    Boolean

    isEmpty

    Declaration
    public readonly bool isEmpty
    Field Value
    Type Description
    Boolean

    isFocused

    Declaration
    public readonly bool isFocused
    Field Value
    Type Description
    Boolean

    textAlign

    Declaration
    public readonly TextAlign? textAlign
    Field Value
    Type Description
    Nullable<TextAlign>

    Properties

    _labelShouldWithdraw

    Declaration
    public bool _labelShouldWithdraw { get; }
    Property Value
    Type Description
    Boolean

    Methods

    createState()

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

    debugFillProperties(DiagnosticPropertiesBuilder)

    Declaration
    public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
    Parameters
    Type Name Description
    DiagnosticPropertiesBuilder properties
    Overrides
    Widget.debugFillProperties(DiagnosticPropertiesBuilder)
    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