ComponentPropertyDef constructor

const ComponentPropertyDef(
  1. String name,
  2. ComponentPropertyKind kind,
  3. PropertyValue? defaultValue, {
  4. String? doc,
  5. String? resourceKind,
  6. List<String>? options,
  7. double? min,
  8. double? max,
  9. PropertyValue read(
    1. Component component
    )?,
})

Declares property name of kind with defaultValue.

Implementation

const ComponentPropertyDef(
  this.name,
  this.kind,
  this.defaultValue, {
  this.doc,
  this.resourceKind,
  this.options,
  this.min,
  this.max,
  this.read,
});