CoderAutoScrollingImage constructor

const CoderAutoScrollingImage({
  1. Key? key,
  2. required String assetPath,
  3. ScrollAxis axis = ScrollAxis.horizontal,
  4. double scrollSpeed = 1.0,
  5. BoxFit fit = BoxFit.cover,
  6. int repetitionCount = 10,
  7. double? width,
  8. double? height,
})

Implementation

const CoderAutoScrollingImage({
  super.key,
  required this.assetPath,
  this.axis = ScrollAxis.horizontal,
  this.scrollSpeed = 1.0,
  this.fit = BoxFit.cover,
  this.repetitionCount = 10,
  this.width,
  this.height,
});