Inheritance
System.Object
Chip
public class Chip : StatelessWidget, ChipAttributes, DeletableChipAttributes
Constructors
Chip(Key, Widget, Widget, TextStyle, EdgeInsets, Widget, VoidCallback, Color, String, ShapeBorder, Clip, Color, EdgeInsets, Nullable<MaterialTapTargetSize>, Nullable<Single>)
Declaration
public Chip(Key key = null, Widget avatar = null, Widget label = null, TextStyle labelStyle = null, EdgeInsets labelPadding = null, Widget deleteIcon = null, VoidCallback onDeleted = null, Color deleteIconColor = null, string deleteButtonTooltipMessage = null, ShapeBorder shape = null, Clip clipBehavior = Clip.none, Color backgroundColor = null, EdgeInsets padding = null, MaterialTapTargetSize? materialTapTargetSize = default(MaterialTapTargetSize? ), float? elevation = default(float? ))
Parameters
Properties
Declaration
public Widget avatar { get; }
Property Value
Implements
Declaration
public Color backgroundColor { get; }
Property Value
Implements
Declaration
public Clip clipBehavior { get; }
Property Value
Implements
Declaration
public string deleteButtonTooltipMessage { get; }
Property Value
Type |
Description |
System.String |
|
Implements
Declaration
public Widget deleteIcon { get; }
Property Value
Implements
Declaration
public Color deleteIconColor { get; }
Property Value
Implements
Declaration
public float? elevation { get; }
Property Value
Type |
Description |
System.Nullable<System.Single> |
|
Implements
Declaration
public Widget label { get; }
Property Value
Implements
Declaration
public EdgeInsets labelPadding { get; }
Property Value
Implements
Declaration
public TextStyle labelStyle { get; }
Property Value
Implements
Declaration
public MaterialTapTargetSize? materialTapTargetSize { get; }
Property Value
Implements
Declaration
public VoidCallback onDeleted { get; }
Property Value
Implements
Declaration
public EdgeInsets padding { get; }
Property Value
Implements
Declaration
public ShapeBorder shape { get; }
Property Value
Implements
Methods
build(BuildContext)
Declaration
public override Widget build(BuildContext context)
Parameters
Returns
Overrides