getOccludePoints method
void
getOccludePoints()
Implementation
void getOccludePoints() {
// Preventing Extra Operation
if (!mounted) return;
Rect? bound = _widgetKey.globalPaintBounds;
if (bound == null) return;
occludePoint = OccludePoint(
bound.left.toNative,
bound.top.toNative,
bound.right.toNative,
bound.bottom.toNative,
);
FlutterUxcam.occludeRectWithCoordinates(
occludePoint.topLeftX,
occludePoint.topLeftY,
occludePoint.bottomRightX,
occludePoint.bottomRightY,
);
}