controller property

PageIndicatorController? controller
finalinherited

The PageIndicatorController that is attached to a PageView. The PageIndicatorController is used to infer page and pageCount.

Thus, when a controller is provided, page and pageCount must be null.

Implementation

final PageIndicatorController? controller;