ResourceField constructor

const ResourceField(
  1. String key,
  2. String label, {
  3. FieldKind kind = FieldKind.text,
  4. List<String> options = const [],
  5. bool inTable = false,
  6. bool required = false,
  7. String? hint,
})

Implementation

const ResourceField(
  this.key,
  this.label, {
  this.kind = FieldKind.text,
  this.options = const [],
  this.inTable = false,
  this.required = false,
  this.hint,
});