SignUpTemplate constructor
const
SignUpTemplate({
- Key? key,
- EdgeInsets padding = const EdgeInsets.only(top: 24, bottom: 16, left: 16, right: 16),
- Widget? icon,
- Widget? additionalRequirement,
- bool centerIcon = false,
- bool centerHead = false,
- bool centerFields = false,
- double iconBottomSpace = 25,
- double headTextsSpace = 0,
- double headBottomSpace = 40,
- double buttonTopSpace = 34,
- String? titleText,
- @Deprecated("Please use instead: titleText") String? welcomeText,
- @Deprecated("Please use instead: subtitleText") String? descriptionText,
- String? subtitleText,
- Widget titleBuilder(
- GBUiKitLocalizations localizations
- Widget subtitleBuilder(
- GBUiKitLocalizations localizations
- String? buttonText,
- String? signInLegendText,
- Color? titleTextColor,
- bool hideTitleAndSubtitleSection = false,
- Color? subtitleTextColor,
- TextStyle? legendActionTextStyle,
- TextStyle? legendNormalTextStyle,
- required bool canSubmit,
- required bool submitting,
- required List<
Widget> fields, - required void onSubmit(),
- void onHaveAccountLegendTap()?,
- ButtonSize buttonSize = ButtonSize.large,
- double spaceBetweenFields = 24,
Implementation
const SignUpTemplate({
Key? key,
this.padding = const EdgeInsets.only(
top: 24,
bottom: 16,
left: 16,
right: 16,
),
this.icon,
this.additionalRequirement,
this.centerIcon = false,
this.centerHead = false,
this.centerFields = false,
this.iconBottomSpace = 25,
this.headTextsSpace = 0,
this.headBottomSpace = 40,
this.buttonTopSpace = 34,
String? titleText,
@Deprecated("Please use instead: titleText") String? welcomeText,
@Deprecated("Please use instead: subtitleText") String? descriptionText,
String? subtitleText,
this.titleBuilder,
this.subtitleBuilder,
this.buttonText,
this.signInLegendText,
this.titleTextColor,
this.hideTitleAndSubtitleSection = false,
this.subtitleTextColor,
this.legendActionTextStyle,
this.legendNormalTextStyle,
required this.canSubmit,
required this.submitting,
required this.fields,
required this.onSubmit,
this.onHaveAccountLegendTap,
this.buttonSize = ButtonSize.large,
this.spaceBetweenFields = 24,
this.footerBuilder,
}) : titleText = titleText ?? welcomeText,
subtitleText = subtitleText ?? descriptionText,
super(key: key);