ChipConfiguration class

Constructors

ChipConfiguration({required Widget label, Widget? avatar, TextStyle? labelStyle, EdgeInsetsGeometry? labelPadding, Widget? deleteIcon, Color? deleteIconColor, String? deleteButtonTooltipMessage, OutlinedBorder? shape, Clip clipBehavior = Clip.none, Color? backgroundColor, EdgeInsetsGeometry? padding, MaterialTapTargetSize? materialTapTargetSize, double elevation = 0, Color shadowColor = Colors.black})
const

Properties

avatar Widget?
A widget to display prior to the chip's label.
final
backgroundColor Color?
Color to be used for the unselected, enabled chip's background.
final
clipBehavior Clip
final
deleteButtonTooltipMessage String?
The message to be used for the chip's delete button tooltip.
final
deleteIcon Widget?
The icon displayed when onDeleted is set.
final
deleteIconColor Color?
The Color for the delete icon. The default is based on the ambient IconTheme.color.
final
elevation double
Elevation to be applied on the chip relative to its parent.
final
hashCode int
The hash code for this object.
no setterinherited
label Widget
The primary content of the chip.
final
labelPadding EdgeInsetsGeometry?
The padding around the label widget.
final
labelStyle TextStyle?
The style to be applied to the chip's label.
final
materialTapTargetSize MaterialTapTargetSize?
Configures the minimum size of the tap target.
final
padding EdgeInsetsGeometry?
The padding between the contents of the chip and the outside shape.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowColor Color
Color of the chip's shadow when the elevation is greater than 0.
final
shape OutlinedBorder?
The OutlinedBorder to draw around the chip.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited