SwiperPluginConfig constructor
const
SwiperPluginConfig({
- int? activeIndex,
- int? itemCount,
- PageIndicatorLayout? indicatorLayout,
- bool? outer,
- required Axis scrollDirection,
- required SwiperController controller,
- PageController? pageController,
- SwiperLayout? layout,
- bool? loop,
Implementation
const SwiperPluginConfig(
{this.activeIndex,
this.itemCount,
this.indicatorLayout,
this.outer,
required this.scrollDirection,
required this.controller,
this.pageController,
this.layout,
this.loop})
: assert(scrollDirection != null),
assert(controller != null);