CellChip constructor
const
CellChip({
- Key? key,
- ValueCell<
Widget?> ? avatar, - required ValueCell<
Widget> label, - ValueCell<
TextStyle?> ? labelStyle, - ValueCell<
EdgeInsetsGeometry?> ? labelPadding, - ValueCell<
Widget?> ? deleteIcon, - ValueCell<
void Function()?> ? onDeleted, - ValueCell<
Color?> ? deleteIconColor, - ValueCell<
String?> ? deleteButtonTooltipMessage, - ValueCell<
BorderSide?> ? side, - ValueCell<
OutlinedBorder?> ? shape, - ValueCell<
Clip> clipBehavior = const ValueCell.value(Clip.none), - ValueCell<
FocusNode?> ? focusNode, - ValueCell<
bool> autofocus = const ValueCell.value(false), - ValueCell<
WidgetStateProperty< ? color,Color?> ?> - ValueCell<
Color?> ? backgroundColor, - ValueCell<
EdgeInsetsGeometry?> ? padding, - ValueCell<
VisualDensity?> ? visualDensity, - ValueCell<
MaterialTapTargetSize?> ? materialTapTargetSize, - ValueCell<
double?> ? elevation, - ValueCell<
Color?> ? shadowColor, - ValueCell<
Color?> ? surfaceTintColor, - ValueCell<
IconThemeData?> ? iconTheme, - ValueCell<
BoxConstraints?> ? avatarBoxConstraints, - ValueCell<
BoxConstraints?> ? deleteIconBoxConstraints, - ValueCell<
ChipAnimationStyle?> ? chipAnimationStyle,
Implementation
const CellChip({
super.key,
this.avatar,
required this.label,
this.labelStyle,
this.labelPadding,
this.deleteIcon,
this.onDeleted,
this.deleteIconColor,
this.deleteButtonTooltipMessage,
this.side,
this.shape,
this.clipBehavior = const ValueCell.value(Clip.none),
this.focusNode,
this.autofocus = const ValueCell.value(false),
this.color,
this.backgroundColor,
this.padding,
this.visualDensity,
this.materialTapTargetSize,
this.elevation,
this.shadowColor,
this.surfaceTintColor,
this.iconTheme,
this.avatarBoxConstraints,
this.deleteIconBoxConstraints,
this.chipAnimationStyle,
});