ComMarquee constructor
const
ComMarquee({
- Key? key,
- required Widget child,
- MarqueeDirection direction = MarqueeDirection.left,
- double speed = 50.0,
- bool infinite = true,
- bool autoStart = true,
- int pauseDuration = 0,
- bool pauseOnHover = false,
- VoidCallback? onComplete,
- MarqueeController? controller,
- double minScrollDistance = 0.0,
- 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,
});