ArcaneInfiniteCarousel.withClass constructor

const ArcaneInfiniteCarousel.withClass({
  1. Key? key,
  2. required List<Widget> children,
  3. required String? trackClass,
  4. String gap = '1.5rem',
  5. int animationDuration = 60,
  6. bool showFadeEdges = true,
  7. String fadeWidth = '150px',
  8. String backgroundColor = 'var(--card)',
  9. int resumeDelay = 5,
})

Implementation

const ArcaneInfiniteCarousel.withClass({
  super.key,
  required this.children,
  required this.trackClass,
  this.gap = '1.5rem',
  this.animationDuration = 60,
  this.showFadeEdges = true,
  this.fadeWidth = '150px',
  this.backgroundColor = 'var(--card)',
  this.resumeDelay = 5,
});