getPageCropBox method
Gets a Rect object of the crop box for the specified page.
pageNumber
is 1-indexed.
Implementation
Future<Rect> getPageCropBox(int pageNumber) async {
String cropBoxString = await _channel.invokeMethod(Functions.getPageCropBox,
<String, dynamic>{Parameters.pageNumber: pageNumber});
return Rect.fromJson(jsonDecode(cropBoxString));
}