PasswordTextField constructor

PasswordTextField({
  1. Key? key,
  2. TextEditingController? controller,
  3. bool? isDense,
  4. EdgeInsets? contentPadding,
  5. InputBorder? border,
  6. BoxConstraints? constraints,
  7. String? hintText,
  8. TextStyle? hintTextStyle,
  9. TextStyle? style,
  10. dynamic onEditingComplete()?,
  11. dynamic onSubmitted(
    1. String val
    )?,
  12. dynamic onChanged(
    1. String val
    )?,
  13. List<TextInputFormatter>? inputFormatters,
  14. TextInputAction? inputAction,
})

Implementation

PasswordTextField({super.key, this.controller, this.isDense, this.contentPadding, this.border, this.constraints, this.hintText, this.hintTextStyle, this.style, this.onEditingComplete, this.onSubmitted, this.onChanged, this.inputFormatters, this.inputAction}) {
  controller?.addListener(() {
    _showIcon.value = (controller?.isNotNullOrEmpty ?? false);
  });
}