FormItemPassword constructor

const FormItemPassword({
  1. bool confirm = false,
  2. InputBorder? border,
  3. int? maxLength,
  4. int? minLength,
  5. InputBorder? disabledBorder,
  6. Color? backgroundColor,
  7. String? hintText,
  8. String? labelText,
  9. String? confirmLabelText = "",
  10. String? lengthErrorText = "",
  11. Widget? prefix,
  12. Widget? suffix,
  13. bool dense = false,
  14. EdgeInsetsGeometry padding = const EdgeInsets.all(10),
  15. bool allowEmpty = false,
  16. bool enabled = true,
  17. String? counterText = "",
  18. void onDeleteSuggestion(
    1. String? value
    )?,
  19. String? notMatchText = "",
  20. String? validator(
    1. String? value
    )?,
  21. void onSaved(
    1. String? value
    )?,
  22. Color? color,
  23. Color? subColor,
})

Implementation

const FormItemPassword(
    {this.confirm = false,
    this.border,
    this.maxLength,
    this.minLength,
    this.disabledBorder,
    this.backgroundColor,
    this.hintText,
    this.labelText,
    this.confirmLabelText = "",
    this.lengthErrorText = "",
    this.prefix,
    this.suffix,
    this.dense = false,
    this.padding = const EdgeInsets.all(10),
    this.allowEmpty = false,
    this.enabled = true,
    this.counterText = "",
    this.onDeleteSuggestion,
    this.notMatchText = "",
    this.validator,
    this.onSaved,
    this.color,
    this.subColor});