AlertStyle constructor

const AlertStyle({
  1. Color? color,
  2. Color? backgroundColor,
  3. IconData? icon,
  4. double? iconSize,
  5. bool? showIcon,
  6. String? title,
  7. TextStyle? titleStyle,
  8. double? titleGap,
  9. TextStyle? textStyle,
  10. double? barWidth,
  11. Radius? borderRadius,
  12. EdgeInsetsGeometry? padding,
  13. EdgeInsetsGeometry? margin,
  14. AlertStyle? note,
  15. AlertStyle? tip,
  16. AlertStyle? important,
  17. AlertStyle? warning,
  18. 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,
});