FormItemPassword constructor
const
FormItemPassword({
- bool confirm = false,
- InputBorder? border,
- int? maxLength,
- int? minLength,
- InputBorder? disabledBorder,
- Color? backgroundColor,
- String? hintText,
- String? labelText,
- String? confirmLabelText = "",
- String? lengthErrorText = "",
- Widget? prefix,
- Widget? suffix,
- bool dense = false,
- EdgeInsetsGeometry padding = const EdgeInsets.all(10),
- bool allowEmpty = false,
- bool enabled = true,
- String? counterText = "",
- void onDeleteSuggestion(
- String? value
- String? notMatchText = "",
- String? validator(
- String? value
- void onSaved(
- String? value
- Color? color,
- 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});