Field constructor

const Field({
  1. required String id,
  2. required String name,
  3. bool showInList = false,
  4. bool isRequired = false,
  5. int sort = 0,
  6. bool realField = true,
  7. FormFieldValidator<Object>? validator,
  8. FieldType type = FieldType.field,
})

Implementation

const Field({
  required this.id,
  required this.name,
  this.showInList = false,
  this.isRequired = false,
  this.sort = 0,
  this.realField = true,
  this.validator,
  this.type = FieldType.field,
});