NoticeStyle class
Constructors
-
NoticeStyle.new({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)})
-
const
Methods
-
copyWith({BoxConstraints? constraints, Color? backgroundColor, BorderRadius? borderRadius, Color? shadowColor, double? elevation, TextStyle? titleStyle, TextStyle? messageStyle, NoticeIcon? noticeIcon, double? space, EdgeInsetsGeometry? padding, EdgeInsetsGeometry? margin})
→ NoticeStyle
-
-
getMessageStyle(BuildContext context)
→ TextStyle?
-
-
getTitleStyle(BuildContext context)
→ TextStyle?
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited