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

Properties

backgroundColor Color?
final
borderRadius BorderRadius
final
constraints BoxConstraints
final
elevation double?
final
hashCode int
The hash code for this object.
no setteroverride
margin EdgeInsetsGeometry
final
messageStyle TextStyle?
final
noticeIcon NoticeIcon
final
padding EdgeInsetsGeometry
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowColor Color
final
space double
final
titleStyle TextStyle?
final

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

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

lerp(NoticeStyle? a, NoticeStyle? b, double t) NoticeStyle