goToArea method
Future<void>
goToArea({
- required Rect rect,
- PdfPageAnchor? anchor,
- Duration duration = const Duration(milliseconds: 200),
Go to the specified area.
anchor
specifies how the page is positioned if the page is larger than the view.
Implementation
Future<void> goToArea({
required Rect rect,
PdfPageAnchor? anchor,
Duration duration = const Duration(milliseconds: 200),
}) =>
_state._goToArea(rect: rect, anchor: anchor, duration: duration);