CellChip constructor

const CellChip({
  1. Key? key,
  2. ValueCell<Widget?>? avatar,
  3. required ValueCell<Widget> label,
  4. ValueCell<TextStyle?>? labelStyle,
  5. ValueCell<EdgeInsetsGeometry?>? labelPadding,
  6. ValueCell<Widget?>? deleteIcon,
  7. ValueCell<void Function()?>? onDeleted,
  8. ValueCell<Color?>? deleteIconColor,
  9. ValueCell<String?>? deleteButtonTooltipMessage,
  10. ValueCell<BorderSide?>? side,
  11. ValueCell<OutlinedBorder?>? shape,
  12. ValueCell<Clip> clipBehavior = const ValueCell.value(Clip.none),
  13. ValueCell<FocusNode?>? focusNode,
  14. ValueCell<bool> autofocus = const ValueCell.value(false),
  15. ValueCell<WidgetStateProperty<Color?>?>? color,
  16. ValueCell<Color?>? backgroundColor,
  17. ValueCell<EdgeInsetsGeometry?>? padding,
  18. ValueCell<VisualDensity?>? visualDensity,
  19. ValueCell<MaterialTapTargetSize?>? materialTapTargetSize,
  20. ValueCell<double?>? elevation,
  21. ValueCell<Color?>? shadowColor,
  22. ValueCell<Color?>? surfaceTintColor,
  23. ValueCell<IconThemeData?>? iconTheme,
  24. ValueCell<BoxConstraints?>? avatarBoxConstraints,
  25. ValueCell<BoxConstraints?>? deleteIconBoxConstraints,
  26. 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,
});