ActionButton constructor

const ActionButton({
  1. Key? key,
  2. required Future<void> action(),
  3. bool autofocus = false,
  4. ActionButtonType buttonType = ActionButtonType.text,
  5. required Widget child,
  6. Clip clipBehavior = Clip.none,
  7. FocusNode? focusNode,
  8. VoidCallback? onActionCompleted,
  9. void onActionError(
    1. Object? error
    )?,
  10. VoidCallback? onActionStarted,
  11. Widget? progressView,
  12. 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);