LiveCheckboxMenuButton constructor
const
LiveCheckboxMenuButton({
- Key? key,
- ValueCell<
bool> enabled = const ValueCell.value(true), - MetaCell<
bool> ? onHover, - MetaCell<
bool> ? onFocusChange, - required MutableCell<
bool?> value, - bool tristate = false,
- bool isError = false,
- FocusNode? focusNode,
- MenuSerializableShortcut? shortcut,
- ButtonStyle? style,
- WidgetStatesController? statesController,
- Clip clipBehavior = Clip.none,
- Widget? trailingIcon,
- bool closeOnActivate = true,
- 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,
});