BuildableComponentInstance constructor

BuildableComponentInstance(
  1. BuildableComponent component
)

Creates an instance from the given component, immediately building and instantiating its children.

Implementation

BuildableComponentInstance(this.component)
  : _childrenInstance = component
        .build()
        .map((comp) => comp.createInstance())
        .toList(),
    super(component);