ComponentPropertyDef constructor
const
ComponentPropertyDef(
- String name,
- ComponentPropertyKind kind,
- PropertyValue? defaultValue, {
- String? doc,
- String? resourceKind,
- List<
String> ? options, - double? min,
- double? max,
- PropertyValue read(
- 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,
});