getCurrentPage static method

Future<int?> getCurrentPage()

Gets the current page of the document.

The page number returned is 1-indexed.

Implementation

static Future<int?> getCurrentPage() {
  return _channel.invokeMethod(Functions.getCurrentPage);
}