zoomToRect abstract method

Future<void> zoomToRect(
  1. int pageIndex,
  2. Rect rect
)

Zooms to the given rect on the given page. pageIndex The index of the page. This is a zero-based index. rect The rect to zoom to. Returns a Future that completes when the zoom operation is done.

Implementation

Future<void> zoomToRect(int pageIndex, Rect rect);