BaseCycleView constructor
const
BaseCycleView({
- Key? key,
- required List<
Widget> items, - double? width,
- double? height,
- Axis scrollDirection = Axis.horizontal,
- ScrollPhysics? physics,
- int? playDelay,
- double? scale,
- BaseSwiperLayout layout = BaseSwiperLayout.DEFAULT,
- double viewportFraction = 1.0,
- bool showPagination = true,
- ValueChanged<
int> ? onTap, - ValueChanged<
int> ? onIndexChanged, - BaseSwiperPlugin? pagination,
Implementation
const BaseCycleView(
{super.key,
required this.items,
this.width,
this.height,
this.scrollDirection = Axis.horizontal,
this.physics,
this.playDelay,
this.scale,
this.layout = BaseSwiperLayout.DEFAULT,
this.viewportFraction = 1.0,
this.showPagination = true,
this.onTap,
this.onIndexChanged,
this.pagination});