ComMarquee constructor

const ComMarquee({
  1. Key? key,
  2. required Widget child,
  3. MarqueeDirection direction = MarqueeDirection.left,
  4. double speed = 50.0,
  5. bool infinite = true,
  6. bool autoStart = true,
  7. int pauseDuration = 0,
  8. bool pauseOnHover = false,
  9. VoidCallback? onComplete,
  10. MarqueeController? controller,
  11. double minScrollDistance = 0.0,
  12. bool scrollOnlyWhenOverflow = false,
})

Implementation

const ComMarquee({
  super.key,
  required this.child,
  this.direction = MarqueeDirection.left,
  this.speed = 50.0,
  this.infinite = true,
  this.autoStart = true,
  this.pauseDuration = 0,
  this.pauseOnHover = false,
  this.onComplete,
  this.controller,
  this.minScrollDistance = 0.0,
  this.scrollOnlyWhenOverflow = false,
});