CellChoiceChip constructor

const CellChoiceChip({
  1. Key? key,
  2. ValueCell<bool> enabled = const ValueCell.value(true),
  3. ValueCell<Widget?>? avatar,
  4. required ValueCell<Widget> label,
  5. ValueCell<TextStyle?>? labelStyle,
  6. ValueCell<EdgeInsetsGeometry?>? labelPadding,
  7. ValueCell<double?>? pressElevation,
  8. required MutableCell<bool> selected,
  9. ValueCell<Color?>? selectedColor,
  10. ValueCell<Color?>? disabledColor,
  11. ValueCell<String?>? tooltip,
  12. ValueCell<BorderSide?>? side,
  13. ValueCell<OutlinedBorder?>? shape,
  14. ValueCell<Clip> clipBehavior = const ValueCell.value(Clip.none),
  15. ValueCell<bool> autofocus = const ValueCell.value(false),
  16. ValueCell<WidgetStateProperty<Color?>?>? color,
  17. ValueCell<Color?>? backgroundColor,
  18. ValueCell<EdgeInsetsGeometry?>? padding,
  19. ValueCell<VisualDensity?>? visualDensity,
  20. ValueCell<MaterialTapTargetSize?>? materialTapTargetSize,
  21. ValueCell<double?>? elevation,
  22. ValueCell<Color?>? shadowColor,
  23. ValueCell<Color?>? surfaceTintColor,
  24. ValueCell<IconThemeData?>? iconTheme,
  25. ValueCell<Color?>? selectedShadowColor,
  26. ValueCell<bool?>? showCheckmark,
  27. ValueCell<Color?>? checkmarkColor,
  28. ValueCell<ShapeBorder> avatarBorder = const ValueCell.value(const CircleBorder()),
  29. ValueCell<BoxConstraints?>? avatarBoxConstraints,
  30. ValueCell<ChipAnimationStyle?>? chipAnimationStyle,
})

Implementation

const CellChoiceChip({
  super.key,
  this.enabled = const ValueCell.value(true),
  this.avatar,
  required this.label,
  this.labelStyle,
  this.labelPadding,
  this.pressElevation,
  required this.selected,
  this.selectedColor,
  this.disabledColor,
  this.tooltip,
  this.side,
  this.shape,
  this.clipBehavior = const ValueCell.value(Clip.none),
  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.selectedShadowColor,
  this.showCheckmark,
  this.checkmarkColor,
  this.avatarBorder = const ValueCell.value(const CircleBorder()),
  this.avatarBoxConstraints,
  this.chipAnimationStyle,
});