bind method

LiveCheckboxMenuButton bind({
  1. ValueCell<bool>? enabled,
  2. MetaCell<bool>? onHover,
  3. MetaCell<bool>? onFocusChange,
  4. MutableCell<bool?>? value,
  5. bool? tristate,
  6. bool? isError,
  7. FocusNode? focusNode,
  8. MenuSerializableShortcut? shortcut,
  9. ButtonStyle? style,
  10. WidgetStatesController? statesController,
  11. Clip? clipBehavior,
  12. Widget? trailingIcon,
  13. bool? closeOnActivate,
  14. Widget? child,
})

Implementation

LiveCheckboxMenuButton bind({
  ValueCell<bool>? enabled,
  MetaCell<bool>? onHover,
  MetaCell<bool>? onFocusChange,
  MutableCell<bool?>? value,
  bool? tristate,
  bool? isError,
  FocusNode? focusNode,
  MenuSerializableShortcut? shortcut,
  ButtonStyle? style,
  WidgetStatesController? statesController,
  Clip? clipBehavior,
  Widget? trailingIcon,
  bool? closeOnActivate,
  Widget? child,
}) =>
    LiveCheckboxMenuButton(
      enabled: enabled ?? this.enabled,
      onHover: onHover ?? this.onHover,
      onFocusChange: onFocusChange ?? this.onFocusChange,
      value: value ?? this.value,
      tristate: tristate ?? this.tristate,
      isError: isError ?? this.isError,
      focusNode: focusNode ?? this.focusNode,
      shortcut: shortcut ?? this.shortcut,
      style: style ?? this.style,
      statesController: statesController ?? this.statesController,
      clipBehavior: clipBehavior ?? this.clipBehavior,
      trailingIcon: trailingIcon ?? this.trailingIcon,
      closeOnActivate: closeOnActivate ?? this.closeOnActivate,
      child: child ?? this.child,
    );