AuthFormBuilder constructor

const AuthFormBuilder({
  1. Key? key,
  2. required FormGroup form(),
  3. required Widget child(
    1. BuildContext,
    2. AuthFlowScope,
    3. VoidCallback submit
    ),
  4. required String actionTitle,
  5. Widget footer(
    1. BuildContext,
    2. AuthFlowScope
    )?,
  6. required Future<void> authAction(
    1. FormGroup
    ),
  7. required AuthState endAuthState,
  8. bool showError = true,
  9. ErrorBuilder? errorBuilder,
})

Implementation

const AuthFormBuilder({
  super.key,
  required this.form,
  required this.child,
  required this.actionTitle,
  this.footer,
  required this.authAction,
  required this.endAuthState,
  this.showError = true,
  this.errorBuilder,
});