SaveButton constructor

const SaveButton({
  1. Key? key,
  2. required bool isDirty,
  3. required bool isSubmitting,
  4. required VoidCallback? onSubmit,
  5. ButtonStyle? style,
  6. FocusNode? focusNode,
  7. bool autofocus = false,
  8. Clip clipBehavior = Clip.none,
  9. VoidCallback? onLongPressed,
  10. ValueChanged<bool>? onHover,
  11. ValueChanged<bool>? onFocusChange,
  12. WidgetStatesController? statesController,
  13. Widget? label,
})

Implementation

const SaveButton({
  super.key,
  required this.isDirty,
  required this.isSubmitting,
  required this.onSubmit,
  this.style,
  this.focusNode,
  this.autofocus = false,
  this.clipBehavior = Clip.none,
  this.onLongPressed,
  this.onHover,
  this.onFocusChange,
  this.statesController,
  this.label,
});