widgetViewport property
Rect
get
widgetViewport
Implementation
Rect get widgetViewport {
assert(parentKey.currentContext != null);
final RenderBox parentRenderBox =
parentKey.currentContext!.findRenderObject()! as RenderBox;
return Offset.zero & parentRenderBox.size;
}