PasswordField constructor
PasswordField({
- Key? key,
- required TextEditingController controller,
- required String hint,
- bool isRequired = true,
- bool? enable,
- double borderRadius = 5,
- Color borderColor = const Color.fromRGBO(220, 220, 220, 1),
- Color borderFocusedColor = const Color.fromRGBO(220, 220, 220, 1),
- TextInputType inputType = TextInputType.visiblePassword,
- String? validator()?,
- String? onChanged()?,
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
});