getComponent function

Component? getComponent(
  1. String componentName
)

Gets a component from the registry

Implementation

Component? getComponent(String componentName) {
  final registry = loadRegistry();
  return registry.components[componentName.toLowerCase()];
}