PasswordTextfield constructor

const PasswordTextfield({
  1. Key? key,
  2. String label = "",
  3. required TextEditingController passwordController,
  4. required FocusNode passwordFocus,
  5. required bool isPasswordFieldValidated,
  6. required dynamic onChanged(
    1. String
    ),
  7. required String? validator(
    1. String?
    )?,
  8. String? errorLabel,
  9. dynamic onSubmitted()?,
})

Implementation

const PasswordTextfield({
  Key? key,
  this.label = "",
  required this.passwordController,
  required this.passwordFocus,
  required this.isPasswordFieldValidated,
  required this.onChanged,
  required this.validator,
  this.errorLabel,
  this.onSubmitted,
}) : super(key: key);