pageView method
PageView
pageView({
- Axis scrollDirection = Axis.vertical,
- bool reverse = false,
- PageController? controller,
- ScrollPhysics? physics,
- ValueChanged<
int> ? onPageChanged,
分页 >>>
Implementation
PageView pageView(
{Axis scrollDirection = Axis.vertical,
bool reverse = false,
PageController? controller,
ScrollPhysics? physics,
ValueChanged<int>? onPageChanged}) {
return PageView(
scrollDirection: scrollDirection,
reverse: reverse,
controller: controller,
physics: physics,
onPageChanged: onPageChanged,
);
}