Component constructor
Component({
- required String componentName,
- String? componentMarkdown,
- required List<
ComponentState> states,
Implementation
Component({
required this.componentName,
this.componentMarkdown,
required this.states,
}) : super(componentName, OrganizerType.component, const <Organizer>[]) {
for (final ComponentState state in states) {
state.parent = this;
}
}