initOffsetsPositions method
void
initOffsetsPositions()
Implementation
void initOffsetsPositions() {
Offset position =
((widget.overlayWidget).currentContext?.findRenderObject() as RenderBox)
.localToGlobal(Offset.zero);
childHeight = (widget.overlayWidget).currentContext!.size!.height / 2;
childWidth = (widget.overlayWidget).currentContext!.size!.width;
this.position = position;
}