AlertStyle constructor
const
AlertStyle({
- Color? color,
- Color? backgroundColor,
- IconData? icon,
- double? iconSize,
- bool? showIcon,
- String? title,
- TextStyle? titleStyle,
- double? titleGap,
- TextStyle? textStyle,
- double? barWidth,
- Radius? borderRadius,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- AlertStyle? note,
- AlertStyle? tip,
- AlertStyle? important,
- AlertStyle? warning,
- AlertStyle? caution,
Creates an alert style. Null fields fall back to the per-type override, then to this style, then to the theme, then to the default.
Implementation
const AlertStyle({
this.color,
this.backgroundColor,
this.icon,
this.iconSize,
this.showIcon,
this.title,
this.titleStyle,
this.titleGap,
this.textStyle,
this.barWidth,
this.borderRadius,
this.padding,
this.margin,
this.note,
this.tip,
this.important,
this.warning,
this.caution,
});