ExtendedImageGesturePageView constructor

ExtendedImageGesturePageView({
  1. Key? key,
  2. Axis scrollDirection = Axis.horizontal,
  3. bool reverse = false,
  4. PageController? controller,
  5. ScrollPhysics? physics,
  6. bool pageSnapping = true,
  7. ValueChanged<int>? onPageChanged,
  8. List<Widget> children = const <Widget>[],
  9. CanMovePage? canMovePage,
  10. CanScrollPage? canScrollPage,
})

Implementation

ExtendedImageGesturePageView({
  Key? key,
  this.scrollDirection = Axis.horizontal,
  this.reverse = false,
  PageController? controller,
  ScrollPhysics? physics,
  this.pageSnapping = true,
  this.onPageChanged,
  List<Widget> children = const <Widget>[],
  CanMovePage? canMovePage,
  CanScrollPage? canScrollPage,
})  : controller = controller ?? _defaultPageController,
      childrenDelegate = SliverChildListDelegate(children),
      physics = physics != null
          ? _defaultScrollPhysics.applyTo(physics)
          : _defaultScrollPhysics,
      canMovePage = canMovePage ?? _defaultCanMovePage,
      canScrollPage = canScrollPage ?? _defaultCanScrollPage,
      super(key: key);