DraftModeFormField<T> constructor

const DraftModeFormField<T>({
  1. Key? key,
  2. required DraftModeFormAttribute<T> attribute,
  3. String? label,
  4. String? placeholder,
  5. bool obscureText = false,
  6. bool obscureEye = false,
  7. DraftModeFormFormatter<T>? formatter,
  8. TextInputType? keyboardType,
  9. ValueChanged<T?>? onSaved,
  10. Widget? prefix,
  11. Widget? suffix,
  12. bool enabled = true,
  13. bool autocorrect = false,
  14. 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,
});