FLNoticeBar constructor
FLNoticeBar({
- Key? key,
- Color? backgroundColor,
- TextStyle? textStyle,
- bool loop = true,
- double velocity = 0.4,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? textPadding,
- required String text,
- double? space,
- double height = FLMarqueeDefaultHeight,
- FLNoticeBarItemBuilder? prefixBuilder,
- FLNoticeBarItemBuilder? suffixBuilder,
- Duration? delay,
Implementation
FLNoticeBar({
Key? key,
this.backgroundColor,
this.textStyle,
this.loop = true,
this.velocity = 0.4,
this.padding,
this.textPadding,
required this.text,
this.space,
this.height = FLMarqueeDefaultHeight,
this.prefixBuilder,
this.suffixBuilder,
this.delay,
}) : super(key: key);