getBasicRect function
Implementation
Rect getBasicRect(GlobalKey key) {
final target = key.currentContext?.findRenderObject() as RenderBox;
return target.localToGlobal(Offset.zero) & target.size;
}
Rect getBasicRect(GlobalKey key) {
final target = key.currentContext?.findRenderObject() as RenderBox;
return target.localToGlobal(Offset.zero) & target.size;
}