Marquee constructor

const Marquee({
  1. Key? key,
  2. required Widget child,
  3. Curve curve = Curves.ease,
  4. Axis direction = Axis.horizontal,
  5. Duration animationDuration = const Duration(seconds: 6),
  6. Duration backDuration = const Duration(milliseconds: 800),
  7. Duration pauseDuration = const Duration(seconds: 1),
})

A widget that scrolls a child infinitely.

Marquee

Implementation

const Marquee({
  super.key,
  required this.child,
  this.curve = Curves.ease,
  this.direction = Axis.horizontal,
  this.animationDuration = const Duration(seconds: 6),
  this.backDuration = const Duration(milliseconds: 800),
  this.pauseDuration = const Duration(seconds: 1),
});