FxSignupFormGroup.initial constructor

FxSignupFormGroup.initial()

Implementation

FxSignupFormGroup.initial() : super({
  'firstName': FxFormControl(
    label: 'First Name',
    hint: 'Enter your first name'
  ),
  'lastName': FxFormControl(
    label: 'Last Name',
    hint: 'Enter your last name'
  ),
  'fullNumber': FxFormControl(
    label: 'Full Number',
    hint: 'Enter your full number'
  ),
  'username': FxFormControl(
    label: 'Username',
    hint: 'Enter your username'
  ),
  'phone': FxFormControl(
    label: 'Phone',
    hint: 'Enter your phone'
  ),
  'countryCode': FxFormControl(
    label: 'Country Code',
    hint: 'Enter your country code'
  ),
  'email': FxFormControl(
    label: 'Email',
    hint: 'Enter your email',
    keyboardType: TextInputType.emailAddress,
    validator: Validators.email,
  ),
  'password': FxFormControl(
    label: 'Password',
    hint: 'Enter your password',
    isPassword: true,
    validator: Validators.password,
  ),
  'confirmPassword': FxFormControl(
    label: 'Confirm Password',
    hint: 'Enter your confirm password',
    isPassword: true
  ),
  'gender': FxFormControl(
    label: 'Gender',
    hint: 'Enter your gender'
  ),
  'dateOfBirth': FxFormControl(
    label: 'Date of Birth',
    hint: 'Enter your date of birth'
  )
});