getOccludePoint method
void
getOccludePoint(
- dynamic rect(
- OccludePoint
Implementation
void getOccludePoint(Function(OccludePoint) rect) {
var occludePoint = OccludePoint(0, 0, 0, 0);
Rect? bound = _widgetKey.globalPaintBounds;
if (bound == null) {
rect(occludePoint);
return;
}
occludePoint = OccludePoint(
bound.left.toNative,
bound.top.toNative,
bound.right.toNative,
bound.bottom.toNative,
);
rect(occludePoint);
}