goToDest method

Future<bool> goToDest(
  1. PdfDest? dest, {
  2. Duration duration = const Duration(milliseconds: 200),
})

Go to the specified destination.

dest specifies the destination. duration specifies the duration of the animation.

Implementation

Future<bool> goToDest(
  PdfDest? dest, {
  Duration duration = const Duration(milliseconds: 200),
}) =>
    _state._goToDest(dest, duration: duration);