getTheWidgetLocalToGlobal static method
Implementation
static Offset? getTheWidgetLocalToGlobal(BuildContext context) {
final box = context.findRenderObject() as RenderBox?;
return (box != null) ? box.localToGlobal(Offset.zero) : null;
}
static Offset? getTheWidgetLocalToGlobal(BuildContext context) {
final box = context.findRenderObject() as RenderBox?;
return (box != null) ? box.localToGlobal(Offset.zero) : null;
}