BannerImage constructor
const
BannerImage({
- Key? key,
- required int itemLength,
- double? aspectRatio,
- ValueChanged<
int> ? onPageChanged, - List<
Widget> ? children, - List<
String> ? imageUrlList, - bool withOutIndicator = false,
- Color? selectedIndicatorColor,
- Color? indicatorColor,
- BorderRadius? borderRadius,
- EdgeInsetsGeometry? padding,
- BoxFit? fit,
- Duration? duration,
- Duration? timerDuration,
- Curve? curve,
- double? indicatorRadius,
- bool autoPlay = false,
- Axis scrollDirection = Axis.horizontal,
- dynamic onTap()?,
- Clip? clipBehavior,
- ImageErrorWidgetBuilder? errorBuilder,
- ImageLoadingBuilder? loadingBuilder,
- 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);