Inheritance
System.Object
ChoiceChip
public class ChoiceChip : StatelessWidget, ChipAttributes, SelectableChipAttributes, DisabledChipAttributes
Constructors
ChoiceChip(Key, Widget, Widget, TextStyle, EdgeInsets, ValueChanged<Boolean>, Nullable<Single>, Nullable<Boolean>, Color, Color, String, ShapeBorder, Clip, Color, EdgeInsets, Nullable<MaterialTapTargetSize>, Nullable<Single>, ShapeBorder)
Declaration
public ChoiceChip(Key key, Widget avatar = null, Widget label = null, TextStyle labelStyle = null, EdgeInsets labelPadding = null, ValueChanged<bool> onSelected = null, float? pressElevation = default(float? ), bool? selected = default(bool? ), Color selectedColor = null, Color disabledColor = 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? ), 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 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 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