ComponentSchema constructor

const ComponentSchema(
  1. String type, {
  2. String? doc,
  3. String? icon,
  4. int version = 1,
  5. List<String> formerTypes = const [],
  6. List<ComponentPropertyDef> properties = const [],
  7. GizmoSpec? gizmo,
})

Implementation

const ComponentSchema(
  this.type, {
  this.doc,
  this.icon,
  this.version = 1,
  this.formerTypes = const [],
  this.properties = const [],
  this.gizmo,
});