LiveCheckboxMenuButton constructor

const LiveCheckboxMenuButton({
  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. bool tristate = false,
  7. bool isError = false,
  8. FocusNode? focusNode,
  9. MenuSerializableShortcut? shortcut,
  10. ButtonStyle? style,
  11. WidgetStatesController? statesController,
  12. Clip clipBehavior = Clip.none,
  13. Widget? trailingIcon,
  14. bool closeOnActivate = true,
  15. required Widget? child,
})

Implementation

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