getPageSize method
Returns the size of the given page
index.
Only working for iOS.
Implementation
Future<Size> getPageSize({required int page}) async {
final sizeMap = await _channel.invokeMethod('pageSize', {'page': page});
return Size(sizeMap["width"], sizeMap["height"]);
}