ExtendedImageGesturePageView constructor
ExtendedImageGesturePageView({
- Key? key,
- Axis scrollDirection = Axis.horizontal,
- bool reverse = false,
- ExtendedPageController? controller,
- ScrollPhysics? physics,
- bool pageSnapping = true,
- ValueChanged<
int> ? onPageChanged, - List<
Widget> children = const <Widget>[], - CanScrollPage? canScrollPage,
- int preloadPagesCount = 0,
Implementation
ExtendedImageGesturePageView({
Key? key,
this.scrollDirection = Axis.horizontal,
this.reverse = false,
ExtendedPageController? controller,
ScrollPhysics? physics,
this.pageSnapping = true,
this.onPageChanged,
List<Widget> children = const <Widget>[],
CanScrollPage? canScrollPage,
this.preloadPagesCount = 0,
}) : controller = controller ?? _defaultPageController,
childrenDelegate = SliverChildListDelegate(children),
physics = physics != null
? _defaultScrollPhysics.applyTo(physics)
: _defaultScrollPhysics,
canScrollPage = canScrollPage ?? _defaultCanScrollPage,
super(key: key);