NoticeStyle constructor

const NoticeStyle({
  1. double? elevation,
  2. TextStyle? titleStyle,
  3. double space = 14,
  4. TextStyle? messageStyle,
  5. Color? backgroundColor,
  6. Color shadowColor = Colors.black38,
  7. NoticeIcon noticeIcon = const NoticeIcon(),
  8. EdgeInsetsGeometry margin = const EdgeInsets.all(14),
  9. EdgeInsetsGeometry padding = const EdgeInsets.all(14),
  10. BorderRadius borderRadius = const BorderRadius.all(Radius.circular(8)),
  11. BoxConstraints constraints = const BoxConstraints(maxWidth: 350, minWidth: 80),
})

Implementation

const NoticeStyle({
  this.elevation,
  this.titleStyle,
  this.space = 14,
  this.messageStyle,
  this.backgroundColor,
  this.shadowColor = Colors.black38,
  this.noticeIcon = const NoticeIcon(),
  this.margin = const EdgeInsets.all(14),
  this.padding = const EdgeInsets.all(14),
  this.borderRadius = const BorderRadius.all(Radius.circular(8)),
  this.constraints = const BoxConstraints(maxWidth: 350, minWidth: 80),
});