ExtendedImageGesturePageView constructor
ExtendedImageGesturePageView({
- Key? key,
- Axis scrollDirection = Axis.horizontal,
- bool reverse = false,
- PageController? controller,
- ScrollPhysics? physics,
- bool pageSnapping = true,
- ValueChanged<
int> ? onPageChanged, - List<
Widget> children = const <Widget>[], - CanMovePage? canMovePage,
- 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);