CellCheckboxMenuButton constructor

const CellCheckboxMenuButton({
  1. Key? key,
  2. ValueCell<bool> enabled = const ValueCell.value(true),
  3. MetaCell<bool>? onHover,
  4. MetaCell<bool>? onFocusChange,
  5. required MutableCell<bool?> value,
  6. ValueCell<bool> tristate = const ValueCell.value(false),
  7. ValueCell<bool> isError = const ValueCell.value(false),
  8. ValueCell<FocusNode?>? focusNode,
  9. ValueCell<MenuSerializableShortcut?>? shortcut,
  10. ValueCell<ButtonStyle?>? style,
  11. ValueCell<WidgetStatesController?>? statesController,
  12. ValueCell<Clip> clipBehavior = const ValueCell.value(Clip.none),
  13. ValueCell<Widget?>? trailingIcon,
  14. ValueCell<bool> closeOnActivate = const ValueCell.value(true),
  15. required ValueCell<Widget?> child,
})

Implementation

const CellCheckboxMenuButton({
  super.key,
  this.enabled = const ValueCell.value(true),
  this.onHover,
  this.onFocusChange,
  required this.value,
  this.tristate = const ValueCell.value(false),
  this.isError = const ValueCell.value(false),
  this.focusNode,
  this.shortcut,
  this.style,
  this.statesController,
  this.clipBehavior = const ValueCell.value(Clip.none),
  this.trailingIcon,
  this.closeOnActivate = const ValueCell.value(true),
  required this.child,
});