PasswordField constructor

PasswordField({
  1. Key? key,
  2. required TextEditingController controller,
  3. required String hint,
  4. bool isRequired = true,
  5. bool? enable,
  6. double borderRadius = 5,
  7. Color borderColor = const Color.fromRGBO(220, 220, 220, 1),
  8. Color borderFocusedColor = const Color.fromRGBO(220, 220, 220, 1),
  9. TextInputType inputType = TextInputType.visiblePassword,
  10. String? validator(
    1. String?
    )?,
  11. String? onChanged(
    1. String?
    )?,
})

Implementation

PasswordField({
  super.key,
  required this.controller,
  required this.hint,
  this.isRequired = true,
  this.enable,
  this.borderRadius = 5,
  this.borderColor = const Color.fromRGBO(220, 220, 220, 1),
  this.borderFocusedColor = const Color.fromRGBO(220, 220, 220, 1),
  this.inputType = TextInputType.visiblePassword,
  this.validator,
  this.onChanged
});