AppPasswordField constructor
const
AppPasswordField({
- Key? key,
- TextEditingController? controller,
- FocusNode? focusNode,
- String? label,
- String? hint,
- String? validator()?,
- void onChanged()?,
- void onSubmitted()?,
- LabelPosition labelPosition = LabelPosition.above,
- TextFieldStyle fieldStyle = TextFieldStyle.outlined,
- TextInputAction? textInputAction,
- bool autofocus = false,
- bool enabled = true,
- bool isRequired = false,
- bool showPasswordToggle = true,
- double? borderRadius,
- Color? borderColor,
- Color? focusedBorderColor,
- IconData? prefixIconData,
- bool? enableSecurity,
Implementation
const AppPasswordField({
super.key,
this.controller,
this.focusNode,
this.label,
this.hint,
this.validator,
this.onChanged,
this.onSubmitted,
this.labelPosition = LabelPosition.above,
this.fieldStyle = TextFieldStyle.outlined,
this.textInputAction,
this.autofocus = false,
this.enabled = true,
this.isRequired = false,
this.showPasswordToggle = true,
this.borderRadius,
this.borderColor,
this.focusedBorderColor,
this.prefixIconData,
this.enableSecurity,
});