usePageController function
Implementation
PageController usePageController({
int initialPage = 0,
bool keepPage = true,
double viewportFraction = 1.0,
List<Object?>? keys,
}) {
return use(
_PageControllerHook(
initialPage: initialPage,
keepPage: keepPage,
viewportFraction: viewportFraction,
keys: keys,
),
);
}