DDSSignInVariantMobile3 constructor

const DDSSignInVariantMobile3({
  1. required String businessName,
  2. String heading = "Welcome back to ",
  3. String phoneErrorMessage = '',
  4. String phonePlaceholderText = 'Eg: 09739278375',
  5. VoidCallback? onSubmit,
  6. dynamic onPhoneNumberChanged(
    1. String,
    2. String
    )?,
  7. String submitButtonName = 'Sign in',
  8. String signUpLink = '',
  9. Widget? userHeader,
  10. String? backgroundImage,
  11. required AlignmentGeometry logoAlignment,
  12. required LogoType logoType,
  13. required String logoLink,
  14. required bool isLargeCircle,
  15. Color loadingPlaceholderColor = Colors.grey,
  16. bool showGoogleButton = true,
  17. bool showAppleButton = true,
  18. bool showEmailButton = true,
  19. VoidCallback? onGoogleSignIn,
  20. VoidCallback? onAppleSignIn,
  21. VoidCallback? onEmailSignIn,
})

Implementation

const DDSSignInVariantMobile3({
  required this.businessName,
  this.heading = "Welcome back to ",
  this.phoneErrorMessage = '',
  this.phonePlaceholderText = 'Eg: 09739278375',
  this.onSubmit,
  this.onPhoneNumberChanged,
  this.submitButtonName = 'Sign in',
  this.signUpLink = '',
  this.userHeader,
  this.backgroundImage,
  required this.logoAlignment,
  required this.logoType,
  required this.logoLink,
  required this.isLargeCircle,
  this.loadingPlaceholderColor = Colors.grey,
  this.showGoogleButton = true,
  this.showAppleButton = true,
  this.showEmailButton = true,
  this.onGoogleSignIn,
  this.onAppleSignIn,
  this.onEmailSignIn,
});