DraftModeFormField<T> constructor
const
DraftModeFormField<T> ({
- Key? key,
- required DraftModeFormAttribute<
T> attribute, - String? label,
- String? placeholder,
- bool obscureText = false,
- bool obscureEye = false,
- DraftModeFormFormatter<
T> ? formatter, - TextInputType? keyboardType,
- ValueChanged<
T?> ? onSaved, - Widget? prefix,
- Widget? suffix,
- bool enabled = true,
- bool autocorrect = false,
- int? lines,
Implementation
const DraftModeFormField({
super.key,
required this.attribute,
this.label,
this.placeholder,
this.obscureText = false,
this.obscureEye = false,
this.formatter,
this.keyboardType,
this.onSaved,
this.prefix,
this.suffix,
this.enabled = true,
this.autocorrect = false,
this.lines,
});