Inheritance
System.Object
InputChip
public class InputChip : StatelessWidget, ChipAttributes, DeletableChipAttributes, SelectableChipAttributes, DisabledChipAttributes, TappableChipAttributes
Constructors
InputChip(Key, Widget, Widget, TextStyle, EdgeInsets, Boolean, Boolean, ValueChanged<Boolean>, Widget, VoidCallback, Color, String, VoidCallback, Nullable<Single>, Color, Color, String, ShapeBorder, Clip, Color, EdgeInsets, Nullable<MaterialTapTargetSize>, Nullable<Single>, Color, ShapeBorder)
Declaration
public InputChip(Key key = null, Widget avatar = null, Widget label = null, TextStyle labelStyle = null, EdgeInsets labelPadding = null, bool selected = false, bool isEnabled = true, ValueChanged<bool> onSelected = null, Widget deleteIcon = null, VoidCallback onDeleted = null, Color deleteIconColor = null, string deleteButtonTooltipMessage = null, VoidCallback onPressed = null, float? pressElevation = default(float? ), Color disabledColor = null, Color selectedColor = null, string tooltip = null, ShapeBorder shape = null, Clip clipBehavior = Clip.none, Color backgroundColor = null, EdgeInsets padding = null, MaterialTapTargetSize? materialTapTargetSize = default(MaterialTapTargetSize? ), float? elevation = default(float? ), Color selectedShadowColor = null, ShapeBorder avatarBorder = null)
Parameters
Properties
Declaration
public Widget avatar { get; }
Property Value
Implements
Declaration
public ShapeBorder avatarBorder { 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 Color disabledColor { get; }
Property Value
Implements
Declaration
public float? elevation { get; }
Property Value
Type |
Description |
System.Nullable<System.Single> |
|
Implements
Declaration
public bool? isEnabled { get; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
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 VoidCallback onPressed { get; }
Property Value
Implements
Declaration
public ValueChanged<bool> onSelected { get; }
Property Value
Implements
Declaration
public EdgeInsets padding { get; }
Property Value
Implements
Declaration
public float? pressElevation { get; }
Property Value
Type |
Description |
System.Nullable<System.Single> |
|
Implements
Declaration
public bool? selected { get; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Implements
Declaration
public Color selectedColor { get; }
Property Value
Implements
Declaration
public ShapeBorder shape { get; }
Property Value
Implements
Declaration
public string tooltip { get; }
Property Value
Type |
Description |
System.String |
|
Implements
Methods
build(BuildContext)
Declaration
public override Widget build(BuildContext context)
Parameters
Returns
Overrides