ComponentHints constructor

const ComponentHints({
  1. required String id,
  2. required String title,
  3. List<FieldHint> fields = const <FieldHint>[],
  4. Set<String> entityTypes = const <String>{},
})

Hints for the component whose codec id is id, shown under title; with no fields the heading has nothing under it, and with no entityTypes it shows on every entity.

Implementation

const ComponentHints({
  required this.id,
  required this.title,
  this.fields = const <FieldHint>[],
  this.entityTypes = const <String>{},
});