NoticeBarWithButton constructor

const NoticeBarWithButton({
  1. Key? key,
  2. required String content,
  3. Color? backgroundColor,
  4. Color? contentTextColor,
  5. String? leftTagText,
  6. Color? leftTagBackgroundColor,
  7. Color? leftTagTextColor,
  8. Color? rightButtonBorderColor,
  9. String? rightButtonText,
  10. Color? rightButtonTextColor,
  11. VoidCallback? onRightButtonTap,
  12. bool marquee = false,
  13. Widget? leftWidget,
  14. Widget? rightWidget,
  15. EdgeInsets? padding,
  16. double minHeight = 54,
})

Implementation

const NoticeBarWithButton(
    {Key? key,
    required this.content,
    this.backgroundColor,
    this.contentTextColor,
    this.leftTagText,
    this.leftTagBackgroundColor,
    this.leftTagTextColor,
    this.rightButtonBorderColor,
    this.rightButtonText,
    this.rightButtonTextColor,
    this.onRightButtonTap,
    this.marquee = false,
    this.leftWidget,
    this.rightWidget,
    this.padding,
    this.minHeight = 54})
    : super(key: key);