isOnPage function
Matches a PaginationController whose currentPageKey equals pageKey.
expect(controller, isOnPage(2));
Implementation
Matcher isOnPage(Object? pageKey) => _IsOnPage(pageKey);
Matches a PaginationController whose currentPageKey equals pageKey.
expect(controller, isOnPage(2));
Matcher isOnPage(Object? pageKey) => _IsOnPage(pageKey);