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

    Class RawChip

    Inheritance
    System.Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatefulWidget
    RawChip
    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 RawChip : StatefulWidget, ChipAttributes, DeletableChipAttributes, SelectableChipAttributes, DisabledChipAttributes, TappableChipAttributes

    Constructors

    RawChip(Key, Widget, Widget, TextStyle, EdgeInsets, EdgeInsets, Widget, VoidCallback, Color, String, VoidCallback, ValueChanged<Boolean>, Nullable<Single>, Nullable<Boolean>, Nullable<Boolean>, Boolean, Nullable<Boolean>, Color, Color, String, ShapeBorder, Clip, Color, Nullable<MaterialTapTargetSize>, Nullable<Single>, ShapeBorder)

    Declaration
    public RawChip(Key key = null, Widget avatar = null, Widget label = null, TextStyle labelStyle = null, EdgeInsets padding = null, EdgeInsets labelPadding = null, Widget deleteIcon = null, VoidCallback onDeleted = null, Color deleteIconColor = null, string deleteButtonTooltipMessage = null, VoidCallback onPressed = null, ValueChanged<bool> onSelected = null, float? pressElevation = default(float? ), bool? tapEnabled, bool? selected = default(bool? ), bool showCheckmark = true, bool? isEnabled, Color disabledColor = null, Color selectedColor = null, string tooltip = null, ShapeBorder shape = null, Clip clipBehavior = Clip.none, Color backgroundColor = null, MaterialTapTargetSize? materialTapTargetSize = default(MaterialTapTargetSize? ), float? elevation = default(float? ), ShapeBorder avatarBorder = null)
    Parameters
    Type Name Description
    Key key
    Widget avatar
    Widget label
    TextStyle labelStyle
    EdgeInsets padding
    EdgeInsets labelPadding
    Widget deleteIcon
    VoidCallback onDeleted
    Color deleteIconColor
    System.String deleteButtonTooltipMessage
    VoidCallback onPressed
    ValueChanged<System.Boolean> onSelected
    System.Nullable<System.Single> pressElevation
    System.Nullable<System.Boolean> tapEnabled
    System.Nullable<System.Boolean> selected
    System.Boolean showCheckmark
    System.Nullable<System.Boolean> isEnabled
    Color disabledColor
    Color selectedColor
    System.String tooltip
    ShapeBorder shape
    Clip clipBehavior
    Color backgroundColor
    System.Nullable<MaterialTapTargetSize> materialTapTargetSize
    System.Nullable<System.Single> elevation
    ShapeBorder avatarBorder

    Properties

    avatar

    Declaration
    public Widget avatar { get; }
    Property Value
    Type Description
    Widget
    Implements
    ChipAttributes.avatar

    avatarBorder

    Declaration
    public ShapeBorder avatarBorder { get; }
    Property Value
    Type Description
    ShapeBorder
    Implements
    SelectableChipAttributes.avatarBorder

    backgroundColor

    Declaration
    public Color backgroundColor { get; }
    Property Value
    Type Description
    Color
    Implements
    ChipAttributes.backgroundColor

    clipBehavior

    Declaration
    public Clip clipBehavior { get; }
    Property Value
    Type Description
    Clip
    Implements
    ChipAttributes.clipBehavior

    deleteButtonTooltipMessage

    Declaration
    public string deleteButtonTooltipMessage { get; }
    Property Value
    Type Description
    System.String
    Implements
    DeletableChipAttributes.deleteButtonTooltipMessage

    deleteIcon

    Declaration
    public Widget deleteIcon { get; }
    Property Value
    Type Description
    Widget
    Implements
    DeletableChipAttributes.deleteIcon

    deleteIconColor

    Declaration
    public Color deleteIconColor { get; }
    Property Value
    Type Description
    Color
    Implements
    DeletableChipAttributes.deleteIconColor

    disabledColor

    Declaration
    public Color disabledColor { get; }
    Property Value
    Type Description
    Color
    Implements
    DisabledChipAttributes.disabledColor

    elevation

    Declaration
    public float? elevation { get; }
    Property Value
    Type Description
    System.Nullable<System.Single>
    Implements
    ChipAttributes.elevation

    isEnabled

    Declaration
    public bool? isEnabled { get; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>
    Implements
    DisabledChipAttributes.isEnabled

    label

    Declaration
    public Widget label { get; }
    Property Value
    Type Description
    Widget
    Implements
    ChipAttributes.label

    labelPadding

    Declaration
    public EdgeInsets labelPadding { get; }
    Property Value
    Type Description
    EdgeInsets
    Implements
    ChipAttributes.labelPadding

    labelStyle

    Declaration
    public TextStyle labelStyle { get; }
    Property Value
    Type Description
    TextStyle
    Implements
    ChipAttributes.labelStyle

    materialTapTargetSize

    Declaration
    public MaterialTapTargetSize? materialTapTargetSize { get; }
    Property Value
    Type Description
    System.Nullable<MaterialTapTargetSize>
    Implements
    ChipAttributes.materialTapTargetSize

    onDeleted

    Declaration
    public VoidCallback onDeleted { get; }
    Property Value
    Type Description
    VoidCallback
    Implements
    DeletableChipAttributes.onDeleted

    onPressed

    Declaration
    public VoidCallback onPressed { get; }
    Property Value
    Type Description
    VoidCallback
    Implements
    TappableChipAttributes.onPressed

    onSelected

    Declaration
    public ValueChanged<bool> onSelected { get; }
    Property Value
    Type Description
    ValueChanged<System.Boolean>
    Implements
    SelectableChipAttributes.onSelected

    padding

    Declaration
    public EdgeInsets padding { get; }
    Property Value
    Type Description
    EdgeInsets
    Implements
    ChipAttributes.padding

    pressElevation

    Declaration
    public float? pressElevation { get; }
    Property Value
    Type Description
    System.Nullable<System.Single>
    Implements
    SelectableChipAttributes.pressElevation
    TappableChipAttributes.pressElevation

    selected

    Declaration
    public bool? selected { get; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>
    Implements
    SelectableChipAttributes.selected

    selectedColor

    Declaration
    public Color selectedColor { get; }
    Property Value
    Type Description
    Color
    Implements
    SelectableChipAttributes.selectedColor

    shape

    Declaration
    public ShapeBorder shape { get; }
    Property Value
    Type Description
    ShapeBorder
    Implements
    ChipAttributes.shape

    showCheckmark

    Declaration
    public bool showCheckmark { get; }
    Property Value
    Type Description
    System.Boolean

    tapEnabled

    Declaration
    public bool? tapEnabled { get; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>

    tooltip

    Declaration
    public string tooltip { get; }
    Property Value
    Type Description
    System.String
    Implements
    SelectableChipAttributes.tooltip
    TappableChipAttributes.tooltip

    Methods

    createState()

    Declaration
    public override State createState()
    Returns
    Type Description
    State
    Overrides
    StatefulWidget.createState()
    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