BannerImage constructor

const BannerImage({
  1. Key? key,
  2. required int itemLength,
  3. double? aspectRatio,
  4. ValueChanged<int>? onPageChanged,
  5. List<Widget>? children,
  6. List<String>? imageUrlList,
  7. bool withOutIndicator = false,
  8. Color? selectedIndicatorColor,
  9. Color? indicatorColor,
  10. BorderRadius? borderRadius,
  11. EdgeInsetsGeometry? padding,
  12. BoxFit? fit,
  13. Duration? duration,
  14. Duration? timerDuration,
  15. Curve? curve,
  16. double? indicatorRadius,
  17. bool autoPlay = false,
  18. Axis scrollDirection = Axis.horizontal,
  19. dynamic onTap(
    1. int
    )?,
  20. Clip? clipBehavior,
  21. ImageErrorWidgetBuilder? errorBuilder,
  22. ImageLoadingBuilder? loadingBuilder,
  23. ScrollPhysics? physics,
})

Implementation

const BannerImage({
  Key? key,
  required this.itemLength,
  this.aspectRatio,
  this.onPageChanged,
  this.children,
  this.imageUrlList,
  this.withOutIndicator = false,
  this.selectedIndicatorColor,
  this.indicatorColor,
  this.borderRadius,
  this.padding,
  this.fit,
  this.duration,
  this.timerDuration,
  this.curve,
  this.indicatorRadius,
  this.autoPlay = false,
  this.scrollDirection = Axis.horizontal,
  this.onTap,
  this.clipBehavior,
  this.errorBuilder,
  this.loadingBuilder,
  this.physics,
}) : super(key: key);