BetterMarquee constructor

const BetterMarquee({
  1. Key? key,
  2. required List<String> textList,
  3. TextStyle? style,
  4. double speed = 60,
  5. double? width,
  6. required double height,
  7. Color? backgroundColor,
  8. Color? textColor,
  9. Widget? leftWidget,
  10. Widget? rightWidget,
  11. EdgeInsetsGeometry? padding,
  12. String? separtor = " ",
  13. bool isVertical = false,
  14. Duration? autoplayDuration = const Duration(seconds: 3),
})

Implementation

const BetterMarquee({
  super.key,
  required this.textList,
  this.style,
  this.speed = 60,
  this.width,
  required this.height,
  this.backgroundColor,
  this.textColor,
  this.leftWidget,
  this.rightWidget,
  this.padding,
  this.separtor = " ",
  this.isVertical = false,
  this.autoplayDuration = const Duration(seconds: 3),
});