XMarquee constructor

const XMarquee({
  1. Key? key,
  2. List<String?> nameList = const [],
  3. List<String?> textList = const [],
  4. List<TextSpan> textSpanList = const [],
  5. double? fontSize = 14.0,
  6. Color textColor = Colors.black,
  7. Duration scrollDuration = const Duration(seconds: 1),
  8. Duration stopDuration = const Duration(seconds: 3),
  9. bool tapToNext = false,
  10. 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);