PaginationScrollToIndex typedef

PaginationScrollToIndex = Future<bool> Function(int index, {double alignment, Curve curve, Duration duration, double offset})

Signature for a function that scrolls the pagination list to a specific index.

Implementation

typedef PaginationScrollToIndex =
    Future<bool> Function(
      int index, {
      Duration duration,
      Curve curve,
      double alignment,
      double offset,
    });