ActionButton constructor
const
ActionButton({
- Key? key,
- required Future<
void> action(), - bool autofocus = false,
- ActionButtonType buttonType = ActionButtonType.text,
- required Widget child,
- Clip clipBehavior = Clip.none,
- FocusNode? focusNode,
- VoidCallback? onActionCompleted,
- void onActionError(
- Object? error
- VoidCallback? onActionStarted,
- Widget? progressView,
- ButtonStyle? style,
Implementation
const ActionButton({
Key? key,
required this.action,
this.autofocus = false,
this.buttonType = ActionButtonType.text,
required this.child,
this.clipBehavior = Clip.none,
this.focusNode,
this.onActionCompleted,
this.onActionError,
this.onActionStarted,
this.progressView,
this.style,
}) : super(key: key);