universalComponentProperties top-level constant

List<ComponentPropertyDef> const universalComponentProperties

The property every component carries regardless of type: the base Component.enabled flag, applied and serialized by the registry so individual codecs never re-declare it.

Implementation

const List<ComponentPropertyDef> universalComponentProperties = [
  ComponentPropertyDef(
    'enabled',
    ComponentPropertyKind.boolean,
    defaultValue: BoolValue(true),
    doc: 'Whether this component updates.',
  ),
];