setDisplayPageIndex method
Jump to the index page.
pageIndex The index of the page to jump.
animated only for iOS, whether to use animation when jumping.
rectList The rects to display in the page.
The coordinate system of the rectangle uses the bottom-left corner of the
page as the origin, with the x-axis pointing to the right and the y-axis pointing upwards.
example:
_controller.setDisplayPageIndex(
  pageIndex: 1,
  animated: true,
  rectList: [CPDFRectF(left: 0, top: 0, right: 100, bottom: 100)]
  );
Implementation
Future<void> setDisplayPageIndex({
  required int pageIndex,
  bool animated = true,
  List<CPDFRectF> rectList = const [],
}) async {
  await _channel.invokeMethod('set_display_page_index', {
    'pageIndex': pageIndex,
    'animated': animated,
    'rectList' : rectList.map((e) => e.toJson()).toList(),
  });
}