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