LoginTheme constructor
LoginTheme({
- Color? pageColorLight,
- Color? pageColorDark,
- Color? primaryColor,
- Color? accentColor,
- Color? errorColor,
- CardTheme cardTheme = const CardTheme(),
- InputDecorationTheme inputTheme = const InputDecorationTheme(filled: true),
- LoginButtonTheme buttonTheme = const LoginButtonTheme(),
- TextStyle? titleStyle,
- TextStyle? bodyStyle,
- TextStyle? textFieldStyle,
- TextStyle? buttonStyle,
- double beforeHeroFontSize = 48.0,
- double afterHeroFontSize = 15.0,
- Color? switchAuthTextColor,
- EdgeInsets? authButtonPadding,
- EdgeInsets? providerButtonPadding,
- double? logoWidth,
- 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});