MarqueeView constructor
const
MarqueeView({
- Key? key,
- required IndexedWidgetBuilder builder,
- required int count,
- ValueChanged<
int> ? onMarqueeChanged, - double? height,
- double? width,
- Color? color,
- EdgeInsetsGeometry? padding,
- Decoration? decoration,
- Duration nextDuration = const Duration(seconds: 2),
- Duration stayDuration = const Duration(seconds: 2),
- double speedPixels = 2.0,
- ValueChanged<
int> ? onTap, - 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);