AssetImgCarousel constructor
const
AssetImgCarousel(
- List<
String> assetImagePaths, { - Key? key,
- double height = 400.0,
- double width = 0.0,
- FunctionWithAInt? onUnitTapped,
- FunctionWithAInt? onIndicatorTapped,
- bool useindicator = true,
- Color indicatorColor = Colors.white,
- Color currentIndicatorColor = Colors.blue,
- double indicatorWidth = 40.0,
- double indicatorHeight = 26.0,
- double indicatorMargin = 3.0,
- double indicatorToBottom = 10.0,
- BoxShape indicatorShape = BoxShape.rectangle,
- FunctionIndicatorBuilder? indicatorBuilder,
- bool pageSnapping = true,
- bool padEnds = true,
- Clip clipBehavior = Clip.hardEdge,
- bool reverse = false,
- Axis scrollDirection = Axis.horizontal,
- CarouselController? controller,
- bool disableIndicatorDefaultCallbacks = false,
- double imgScale = 1.0,
- ImageFrameBuilder? imgFrameBuilder,
- bool imgExcludeFromSemantics = false,
- AlignmentGeometry imgAlignment = Alignment.center,
- ImageRepeat imgRepeat = ImageRepeat.noRepeat,
- bool imgMatchTextDirection = false,
- bool imgGaplessPlayback = false,
- FilterQuality imgFilterQuality = FilterQuality.low,
- bool imgIsAntiAlias = false,
- ImageErrorWidgetBuilder? imgErrorBuilder,
- String? imgSemanticLabel,
- double? imgWidth,
- double? imgHeight,
- Color? imgColor,
- Animation<
double> ? imgOpacity, - BlendMode? imgColorBlendMode,
- BoxFit? imgFit,
- Rect? imgCenterSlice,
- Map<
String, String> ? imgHeaders, - int? imgCacheWidth,
- int? imgCacheHeight,
- String? imgPackage,
Implementation
const AssetImgCarousel(
this.assetImagePaths, {
super.key,
this.height = 400.0,
this.width = 0.0,
this.onUnitTapped,
this.onIndicatorTapped,
this.useindicator = true,
this.indicatorColor = Colors.white,
this.currentIndicatorColor = Colors.blue,
this.indicatorWidth = 40.0,
this.indicatorHeight = 26.0,
this.indicatorMargin = 3.0,
this.indicatorToBottom = 10.0,
this.indicatorShape = BoxShape.rectangle,
this.indicatorBuilder,
this.pageSnapping = true,
this.padEnds = true,
this.clipBehavior = Clip.hardEdge,
this.reverse = false,
this.scrollDirection = Axis.horizontal,
this.controller,
this.disableIndicatorDefaultCallbacks = false,
this.imgScale = 1.0,
this.imgFrameBuilder,
this.imgExcludeFromSemantics = false,
this.imgAlignment = Alignment.center,
this.imgRepeat = ImageRepeat.noRepeat,
this.imgMatchTextDirection = false,
this.imgGaplessPlayback = false,
this.imgFilterQuality = FilterQuality.low,
this.imgIsAntiAlias = false,
this.imgErrorBuilder,
this.imgSemanticLabel,
this.imgWidth,
this.imgHeight,
this.imgColor,
this.imgOpacity,
this.imgColorBlendMode,
this.imgFit,
this.imgCenterSlice,
this.imgHeaders,
this.imgCacheWidth,
this.imgCacheHeight,
this.imgPackage,
});