GoKwikLoginAndSignUpFlow constructor

const GoKwikLoginAndSignUpFlow({
  1. Key? key,
  2. ImageProvider<Object>? bannerImage,
  3. BoxDecoration? bannerImageStyle,
  4. BoxDecoration? logoStyle,
  5. BoxDecoration? containerStyle,
  6. BoxDecoration? formContainerStyle,
  7. BoxDecoration? imageContainerStyle,
  8. LoadingConfig? loaderConfig,
  9. String? footerText,
  10. List<FooterUrl>? footerUrls,
  11. TextStyle? footerTextStyle,
  12. TextStyle? footerHyperlinkStyle,
  13. dynamic onSuccess(
    1. FlowResult
    )?,
  14. dynamic onError(
    1. FlowResult
    )?,
  15. void onAnalytics(
    1. String eventName,
    2. Map<String, dynamic> properties
    )?,
  16. CreateUserConfig? createUserConfig,
  17. bool enableGuestLogin = false,
  18. String guestLoginButtonLabel = 'Skip',
  19. VoidCallback? onGuestLoginPress,
  20. BoxDecoration? guestContainerStyle,
  21. TextInputConfig? inputProps,
  22. MerchantType? merchantType,
  23. TextStyle? guesLoginTextStyle,
})

Implementation

const GoKwikLoginAndSignUpFlow({
  super.key,
  this.bannerImage,
  this.logo,
  this.bannerImageStyle,
  this.logoStyle,
  this.containerStyle,
  this.formContainerStyle,
  this.imageContainerStyle,
  this.loaderConfig,
  this.footerText,
  this.footerUrls,
  this.footerTextStyle,
  this.footerHyperlinkStyle,
  this.onSuccess,
  this.onError,
  this.onAnalytics,
  this.createUserConfig,
  this.enableGuestLogin = false,
  this.guestLoginButtonLabel = 'Skip',
  this.onGuestLoginPress,
  this.guestContainerStyle,
  this.inputProps,
  this.merchantType,
  this.guesLoginTextStyle,
});