NoticeBarWithButton constructor
const
NoticeBarWithButton({
- Key? key,
- required String content,
- Color? backgroundColor,
- Color? contentTextColor,
- String? leftTagText,
- Color? leftTagBackgroundColor,
- Color? leftTagTextColor,
- Color? rightButtonBorderColor,
- String? rightButtonText,
- Color? rightButtonTextColor,
- VoidCallback? onRightButtonTap,
- bool marquee = false,
- Widget? leftWidget,
- Widget? rightWidget,
- EdgeInsets? padding,
- 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);