SaveButton constructor
const
SaveButton({ - Key? key,
- required bool isDirty,
- required bool isSubmitting,
- required VoidCallback? onSubmit,
- ButtonStyle? style,
- FocusNode? focusNode,
- bool autofocus = false,
- Clip clipBehavior = Clip.none,
- VoidCallback? onLongPressed,
- ValueChanged<bool>? onHover,
- ValueChanged<bool>? onFocusChange,
- WidgetStatesController? statesController,
- 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,
});