bind method

LiveElevatedButton bind({
  1. ValueCell<bool>? enabled,
  2. MetaCell<void>? press,
  3. MetaCell<void>? longPress,
  4. MetaCell<bool>? onHover,
  5. MetaCell<bool>? onFocusChange,
  6. ButtonStyle? style,
  7. bool? autofocus,
  8. Clip? clipBehavior,
  9. Widget? child,
})

Implementation

LiveElevatedButton bind({
  ValueCell<bool>? enabled,
  MetaCell<void>? press,
  MetaCell<void>? longPress,
  MetaCell<bool>? onHover,
  MetaCell<bool>? onFocusChange,
  ButtonStyle? style,
  bool? autofocus,
  Clip? clipBehavior,
  Widget? child,
}) =>
    LiveElevatedButton(
      enabled: enabled ?? this.enabled,
      press: press ?? this.press,
      longPress: longPress ?? this.longPress,
      onHover: onHover ?? this.onHover,
      onFocusChange: onFocusChange ?? this.onFocusChange,
      style: style ?? this.style,
      autofocus: autofocus ?? this.autofocus,
      clipBehavior: clipBehavior ?? this.clipBehavior,
      child: child ?? this.child,
    );