Unfortunately the _pageController field is private - why? There is no reason to make is private. Instead, it makes managing the page way more complicated. You can't access the items anymore. Instead of creating the getter beach to access the page, you could simply make the field public. This way we can work with common variable names (such as page).
Unfortunately the
_pageControllerfield is private - why? There is no reason to make is private. Instead, it makes managing the page way more complicated. You can't access the items anymore. Instead of creating the getterbeachto access thepage, you could simply make the field public. This way we can work with common variable names (such aspage).