BetterMarquee constructor
const
BetterMarquee({
- Key? key,
- required List<
String> textList, - TextStyle? style,
- double speed = 60,
- double? width,
- required double height,
- Color? backgroundColor,
- Color? textColor,
- Widget? leftWidget,
- Widget? rightWidget,
- EdgeInsetsGeometry? padding,
- String? separtor = " ",
- bool isVertical = false,
- 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),
});