createPageController static method
Implementation
static PageController createPageController(
{bool reverse = false,
int index = 0,
int itemCount = 0,
bool loop = false,
double viewportFraction = 0}) {
return PageController(
initialPage: getRealIndexFromRenderIndex(
reverse: reverse, index: index, itemCount: itemCount, loop: loop),
viewportFraction: viewportFraction);
}