LoginTheme constructor

LoginTheme({
  1. Color? pageColorLight,
  2. Color? pageColorDark,
  3. Color? primaryColor,
  4. Color? accentColor,
  5. Color? errorColor,
  6. CardTheme cardTheme = const CardTheme(),
  7. InputDecorationTheme inputTheme = const InputDecorationTheme(filled: true),
  8. LoginButtonTheme buttonTheme = const LoginButtonTheme(),
  9. TextStyle? titleStyle,
  10. TextStyle? bodyStyle,
  11. TextStyle? textFieldStyle,
  12. TextStyle? buttonStyle,
  13. double beforeHeroFontSize = 48.0,
  14. double afterHeroFontSize = 15.0,
  15. Color? footerBackgroundColor,
  16. Color? switchAuthTextColor,
  17. TextStyle? footerTextStyle,
  18. EdgeInsets? authButtonPadding,
  19. EdgeInsets? providerButtonPadding,
  20. double footerBottomPadding = 5,
  21. double? logoWidth,
  22. bool primaryColorAsInputLabel = false,
})

Implementation

LoginTheme(
    {this.pageColorLight,
    this.pageColorDark,
    this.primaryColor,
    this.accentColor,
    this.errorColor,
    this.cardTheme = const CardTheme(),
    this.inputTheme = const InputDecorationTheme(
      filled: true,
    ),
    this.buttonTheme = const LoginButtonTheme(),
    this.titleStyle,
    this.bodyStyle,
    this.textFieldStyle,
    this.buttonStyle,
    this.beforeHeroFontSize = 48.0,
    this.afterHeroFontSize = 15.0,
    this.footerBackgroundColor,
    this.switchAuthTextColor,
    this.footerTextStyle,
    this.authButtonPadding,
    this.providerButtonPadding,
    this.footerBottomPadding = 5,
    this.logoWidth,
    this.primaryColorAsInputLabel = false});