XMarquee constructor
const
XMarquee({
- Key? key,
- List<
String?> nameList = const [], - List<
String?> textList = const [], - List<
TextSpan> textSpanList = const [], - double? fontSize = 14.0,
- Color textColor = Colors.black,
- Duration scrollDuration = const Duration(seconds: 1),
- Duration stopDuration = const Duration(seconds: 3),
- bool tapToNext = false,
- XMarqueeController? controller,
Implementation
const XMarquee({
Key? key,
this.nameList = const [],
this.textList = const [],
this.textSpanList = const [],
this.fontSize = 14.0,
this.textColor = Colors.black,
this.scrollDuration = const Duration(seconds: 1),
this.stopDuration = const Duration(seconds: 3),
this.tapToNext = false,
this.controller,
}) : super(key: key);