pageView method

PageView pageView({
  1. Axis scrollDirection = Axis.vertical,
  2. bool reverse = false,
  3. PageController? controller,
  4. ScrollPhysics? physics,
  5. 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,
  );
}