CellChoiceChip constructor
const
CellChoiceChip({
- Key? key,
- ValueCell<
bool> enabled = const ValueCell.value(true), - ValueCell<
Widget?> ? avatar, - required ValueCell<
Widget> label, - ValueCell<
TextStyle?> ? labelStyle, - ValueCell<
EdgeInsetsGeometry?> ? labelPadding, - ValueCell<
double?> ? pressElevation, - required MutableCell<
bool> selected, - ValueCell<
Color?> ? selectedColor, - ValueCell<
Color?> ? disabledColor, - ValueCell<
String?> ? tooltip, - ValueCell<
BorderSide?> ? side, - ValueCell<
OutlinedBorder?> ? shape, - ValueCell<
Clip> clipBehavior = const ValueCell.value(Clip.none), - 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<
Color?> ? selectedShadowColor, - ValueCell<
bool?> ? showCheckmark, - ValueCell<
Color?> ? checkmarkColor, - ValueCell<
ShapeBorder> avatarBorder = const ValueCell.value(const CircleBorder()), - ValueCell<
BoxConstraints?> ? avatarBoxConstraints, - 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,
});