LiveChoiceChip constructor

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

Implementation

const LiveChoiceChip({
  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 = Clip.none,
  this.autofocus = 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 CircleBorder(),
  this.avatarBoxConstraints,
  this.chipAnimationStyle,
});