EditorItem constructor

const EditorItem({
  1. required String fieldName,
  2. required EEditorType type,
  3. int step = 1,
  4. String? title,
  5. String? validator(
    1. Object? value
    )?,
  6. bool isRequired = false,
  7. UploadImageInfo? uploadImageInfo,
  8. Object? defaultValue,
  9. String? hint,
  10. String? invalidMessage,
  11. double? min,
  12. double? max,
  13. String? invalidMin,
  14. String? invalidMax,
})

Implementation

const EditorItem({
  required this.fieldName,
  required this.type,
  this.step = 1,
  this.title,
  this.validator,
  this.isRequired = false,
  this.uploadImageInfo,
  this.defaultValue,
  this.hint,
  this.invalidMessage,
  this.min,
  this.max,
  this.invalidMin,
  this.invalidMax,
});