getComponentWidgetInstance method
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');
}
}