DeletableChipAttributes class Null safety
An interface for Material Design chips that can be deleted.
The defaults mentioned in the documentation for each attribute are what the implementing classes typically use for defaults (but this class doesn't provide or enforce them).
See also:
- Chip, a chip that displays information and can be deleted.
- InputChip, a chip that represents a complex piece of information, such as an entity (person, place, or thing) or conversational text, in a compact form.
- material.io/design/components/chips.html
Properties
- deleteButtonTooltipMessage → String?
-
The message to be used for the chip's delete button tooltip.
read-only
- deleteIcon → Widget?
-
The icon displayed when onDeleted is set.
read-only
- deleteIconColor → Color?
-
Used to define the delete icon's color with an IconTheme that
contains the icon.
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- onDeleted → VoidCallback?
-
Called when the user taps the deleteIcon to delete the chip.
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- useDeleteButtonTooltip → bool
-
Whether to use a tooltip on the chip's delete button showing the
deleteButtonTooltipMessage.
Deprecated('Migrate to deleteButtonTooltipMessage. ' 'This feature was deprecated after v2.10.0-0.3.pre.')">@Deprecated('Migrate to deleteButtonTooltipMessage. ' 'This feature was deprecated after v2.10.0-0.3.pre.')read-only
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited