getComponentWidgetInstance method

Widget getComponentWidgetInstance(
  1. String key
)

Search with key and return widget of the componentData tree

Implementation

Widget getComponentWidgetInstance(String key) {
  if (componentsTree.containsKey(key)) {
    return componentsTree[key]!.object;
  } else {
    return const Text('Key not found');
  }
}