Field constructor

Field({
  1. required String name,
  2. required String type,
  3. String input = 'text',
  4. bool hidden = false,
  5. bool showList = false,
  6. bool primary = false,
})

Implementation

Field({
  required this.name,
  required this.type,
  this.input = 'text',
  this.hidden = false,
  this.showList = false,
  this.primary = false,
});