moveOverlay static method

Future<bool?> moveOverlay(
  1. OverlayPosition position
)

Update the overlay position in the screen

position the new position of the overlay

return true if the position updated successfully

Implementation

static Future<bool?> moveOverlay(OverlayPosition position) async {
  final bool? _res = await _channel.invokeMethod<bool?>(
    'moveOverlay',
    position.toMap(),
  );
  return _res;
}