AppPasswordField constructor

const AppPasswordField({
  1. Key? key,
  2. TextEditingController? controller,
  3. FocusNode? focusNode,
  4. String? label,
  5. String? hint,
  6. String? validator(
    1. String?
    )?,
  7. void onChanged(
    1. String
    )?,
  8. void onSubmitted(
    1. String
    )?,
  9. LabelPosition labelPosition = LabelPosition.above,
  10. TextFieldStyle fieldStyle = TextFieldStyle.outlined,
  11. TextInputAction? textInputAction,
  12. bool autofocus = false,
  13. bool enabled = true,
  14. bool isRequired = false,
  15. bool showPasswordToggle = true,
  16. double? borderRadius,
  17. Color? borderColor,
  18. Color? focusedBorderColor,
  19. IconData? prefixIconData,
  20. 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,
});