FLNoticeBar constructor

FLNoticeBar({
  1. Key? key,
  2. Color? backgroundColor,
  3. TextStyle? textStyle,
  4. bool loop = true,
  5. double velocity = 0.4,
  6. EdgeInsetsGeometry? padding,
  7. EdgeInsetsGeometry? textPadding,
  8. required String text,
  9. double? space,
  10. double height = FLMarqueeDefaultHeight,
  11. FLNoticeBarItemBuilder? prefixBuilder,
  12. FLNoticeBarItemBuilder? suffixBuilder,
  13. 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);