Control constructor

Control({
  1. required String type,
  2. required String name,
  3. required String label,
  4. dynamic defaultValue,
  5. List<ControlOption> options = const [],
})

Implementation

Control({
  required this.type,
  required this.name,
  required this.label,
  this.defaultValue,
  this.options = const [],
});