pageCount property

int get pageCount

The total number of pages in the bottom sheet.

Implementation

int get pageCount => _state?.widget.pages.length ?? 0;