AuthFlowScreen constructor

const AuthFlowScreen({
  1. Key? key,
  2. void onStepChange(
    1. AuthStep? previousStep,
    2. AuthStep? currentStep
    )?,
  3. void onAuthSuccess(
    1. User user,
    2. bool isNewUser
    )?,
  4. required AuthMethod authMethod,
  5. AuthStepTemplates templates = const AuthStepTemplates(),
})

Implementation

const AuthFlowScreen({
  super.key,
  this.onStepChange,
  this.onAuthSuccess,
  required this.authMethod,
  this.templates = const AuthStepTemplates(),
});