BackgroundNotice constructor

const BackgroundNotice({
  1. Key? key,
  2. required String text,
  3. Widget? icon,
  4. Color? color,
  5. TextStyle? textStyle,
  6. NoticeType noticeType = NoticeType.info,
})

Creates a bordered notice with background tint.

Implementation

const BackgroundNotice({
  super.key,
  required this.text,
  this.icon,
  this.color,
  this.textStyle,
  this.noticeType = NoticeType.info,
});