Get the position of the button from the global key
Offset getPosition() => _getPositionFromKey(globalKey);