SignIn constructor

const SignIn({
  1. required AuthType authType,
  2. bool isResetPasswordEnabled = false,
  3. bool isSignUpEnabled = false,
  4. bool isGuestEnabled = false,
  5. bool useSafeArea = true,
  6. List<SocialAuthProviderElement> socialAuthProviders = const [],
  7. TextEditingController? emailController,
  8. TextEditingController? passwordController,
  9. EdgeInsets? contentPadding,
  10. void onCreateAccountTap()?,
  11. void onSignInTap()?,
  12. void onSignInAsGuestTap()?,
  13. void onPasswordRecoveryTap()?,
  14. TextStyle? eMailLabelStyle,
  15. TextStyle? eMailTextStyle,
  16. StrutStyle? eMailStrutStyle,
  17. dynamic eMailOnChanged(
    1. String
    )?,
  18. GestureTapCallback? eMailOnTap,
  19. Widget? eMailPrefixIcon,
  20. TextStyle? passwordLabelStyle,
  21. TextStyle? passwordTextStyle,
  22. StrutStyle? passwordStrutStyle,
  23. dynamic passwordOnChanged(
    1. String
    )?,
  24. GestureTapCallback? passwordOnTap,
  25. Widget? passwordPrefixIcon,
  26. ButtonStyle? signInButtonStyle,
  27. ButtonStyle? signInGuestButtonStyle,
  28. Key? key,
  29. String screenTitle = 'Sign In',
  30. String signInButtonTitle = 'Sign In',
  31. String guestSignInButtonTitle = 'Sign in as Guest',
  32. String dontHaveAnAccountText = 'Don\'t have an account?',
  33. String createAnAccountText = 'Create an account',
  34. String? emailHintText,
  35. String? passwordHintText,
  36. String? passwordRecoveryText,
})

Implementation

const SignIn({
  required this.authType,
  this.isResetPasswordEnabled = false,
  this.isSignUpEnabled = false,
  this.isGuestEnabled = false,
  this.useSafeArea = true,
  this.socialAuthProviders = const [],
  this.emailController,
  this.passwordController,
  this.contentPadding,
  this.logo,
  this.onCreateAccountTap,
  this.onSignInTap,
  this.onSignInAsGuestTap,
  this.onPasswordRecoveryTap,
  this.eMailLabelStyle,
  this.eMailTextStyle,
  this.eMailStrutStyle,
  this.eMailOnChanged,
  this.eMailOnTap,
  this.eMailPrefixIcon,
  this.passwordLabelStyle,
  this.passwordTextStyle,
  this.passwordStrutStyle,
  this.passwordOnChanged,
  this.passwordOnTap,
  this.passwordPrefixIcon,
  this.signInButtonStyle,
  this.signInGuestButtonStyle,
  super.key,
  this.screenTitle = 'Sign In',
  this.signInButtonTitle = 'Sign In',
  this.guestSignInButtonTitle = 'Sign in as Guest',
  this.dontHaveAnAccountText = 'Don\'t have an account?',
  this.createAnAccountText = 'Create an account',
  this.emailHintText,
  this.passwordHintText,
  this.passwordRecoveryText,
});