discontinuedPackage flutter_meedu_media_kit has been discontinued.

getPosition method

Future<Offset> getPosition()

Returns Offset - Contains the window's current position.

Implementation

Future<Offset> getPosition() async {
  Rect bounds = await getBounds();
  return bounds.topLeft;
}