BaseBannerView constructor

const BaseBannerView({
  1. Key? key,
  2. required List<String> urls,
  3. double? width,
  4. double? height,
  5. int? playDelay,
  6. double? scale,
  7. BaseSwiperLayout layout = BaseSwiperLayout.DEFAULT,
  8. double viewportFraction = 1.0,
  9. bool showPagination = true,
  10. BaseSwiperPlugin? pagination,
  11. required Widget placeholder,
  12. ValueChanged<int>? onTap,
})

Implementation

const BaseBannerView(
    {super.key,
    required this.urls,
    this.width,
    this.height,
    this.playDelay,
    this.scale,
    this.layout = BaseSwiperLayout.DEFAULT,
    this.viewportFraction = 1.0,
    this.showPagination = true,
    this.pagination,
    required this.placeholder,
    this.onTap});