visiblePages property

Map<int, double> get visiblePages

Get list of the page numbers of the pages visible inside the viewport.

The map keys are the page numbers.

And each page number is associated to the page area (width x height) exposed to the viewport; If the controller is not ready(isReady), the property throws some exception.

Implementation

Map<int, double> get visiblePages => _state!._visiblePages;