NoticeStyle constructor
const
NoticeStyle({
- double? elevation,
- TextStyle? titleStyle,
- double space = 14,
- TextStyle? messageStyle,
- Color? backgroundColor,
- Color shadowColor = Colors.black38,
- NoticeIcon noticeIcon = const NoticeIcon(),
- EdgeInsetsGeometry margin = const EdgeInsets.all(14),
- EdgeInsetsGeometry padding = const EdgeInsets.all(14),
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(8)),
- 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),
});