LiveChoiceChip constructor
const
LiveChoiceChip({
- Key? key,
- ValueCell<
bool> enabled = const ValueCell.value(true), - Widget? avatar,
- required Widget label,
- TextStyle? labelStyle,
- EdgeInsetsGeometry? labelPadding,
- double? pressElevation,
- required MutableCell<
bool> selected, - Color? selectedColor,
- Color? disabledColor,
- String? tooltip,
- BorderSide? side,
- OutlinedBorder? shape,
- Clip clipBehavior = Clip.none,
- bool autofocus = false,
- WidgetStateProperty<
Color?> ? color, - Color? backgroundColor,
- EdgeInsetsGeometry? padding,
- VisualDensity? visualDensity,
- MaterialTapTargetSize? materialTapTargetSize,
- double? elevation,
- Color? shadowColor,
- Color? surfaceTintColor,
- IconThemeData? iconTheme,
- Color? selectedShadowColor,
- bool? showCheckmark,
- Color? checkmarkColor,
- ShapeBorder avatarBorder = const CircleBorder(),
- BoxConstraints? avatarBoxConstraints,
- 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,
});