KwikLoginConfig constructor

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

Implementation

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