UserDetailsConfig constructor

const UserDetailsConfig({
  1. String? title = 'Create your account',
  2. String? subtitle = 'Enter your details to create an account',
  3. String buttonLabel = 'Create account',
  4. bool requireEmail = false,
  5. bool emailLookup = false,
  6. FxTextStyle? titleStyle,
  7. FxTextStyle? subtitleStyle,
  8. Widget? firstNamePrefix,
  9. Widget? lastNamePrefix,
  10. Widget? emailPrefix,
  11. Widget? header,
  12. Widget footer(
    1. VoidCallback onSubmit,
    2. bool isLoading
    )?,
  13. EdgeInsets? padding,
  14. double? spacing,
  15. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.center,
  16. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.stretch,
})

Implementation

const UserDetailsConfig({
  this.title = 'Create your account',
  this.subtitle = 'Enter your details to create an account',
  this.buttonLabel = 'Create account',
  this.requireEmail = false,
  this.emailLookup = false,
  this.titleStyle,
  this.subtitleStyle,
  this.firstNamePrefix,
  this.lastNamePrefix,
  this.emailPrefix,
  this.header,
  this.footer,
  this.padding,
  this.spacing,
  this.mainAxisAlignment = MainAxisAlignment.center,
  this.crossAxisAlignment = CrossAxisAlignment.stretch,
});