searchChildElementByKey method
Implementation
ElementModel? searchChildElementByKey(Key key) {
ElementModel? result;
context.visitChildElements((element) => result =
_searchChildElementByKey(context.findRenderObject(), element, key));
if (result == null) {
return ElementModel.empty();
}
return result;
}