MarqueeView constructor

const MarqueeView({
  1. Key? key,
  2. required IndexedWidgetBuilder builder,
  3. required int count,
  4. ValueChanged<int>? onMarqueeChanged,
  5. double? height,
  6. double? width,
  7. Color? color,
  8. EdgeInsetsGeometry? padding,
  9. Decoration? decoration,
  10. Duration nextDuration = const Duration(seconds: 2),
  11. Duration stayDuration = const Duration(seconds: 2),
  12. double speedPixels = 2.0,
  13. ValueChanged<int>? onTap,
  14. bool start = true,
})

Implementation

const MarqueeView(
    {Key? key,
    required this.builder,
    required this.count,
    this.onMarqueeChanged,
    this.height,
    this.width,
    this.color,
    this.padding,
    this.decoration,
    this.nextDuration = const Duration(seconds: 2),
    this.stayDuration = const Duration(seconds: 2),
    this.speedPixels = 2.0,
    this.onTap,
    this.start = true})
    : assert(speedPixels > 0.0, "speedPixels must > 0"),
      super(key: key);