AlertStyle constructor

const AlertStyle({
  1. SheetVariant? variant,
  2. SheetSeverity? severity,
  3. EdgeInsetsGeometry? margin,
  4. EdgeInsetsGeometry? padding,
  5. Clip? clipBehavior,
  6. Color? shadowColor,
  7. Color? surfaceTint,
  8. double? elevation,
  9. TextStyle? foregroundStyle,
  10. Color? foregroundColor,
  11. double? foregroundOpacity,
  12. int? foregroundAlpha,
  13. double? foregroundSpacing,
  14. bool? foregroundLoosen,
  15. bool? foregroundExpanded,
  16. CrossAxisAlignment? foregroundAlign,
  17. MainAxisAlignment? foregroundJustify,
  18. Color? backgroundColor,
  19. double? backgroundOpacity,
  20. int? backgroundAlpha,
  21. Color? borderColor,
  22. double? borderOpacity,
  23. int? borderAlpha,
  24. double? borderWidth,
  25. BorderRadius? borderRadius,
  26. BorderStyle? borderStyle,
  27. Color? iconColor,
  28. double? iconOpacity,
  29. double? iconSize,
})

Create a raw alert's style

Implementation

const AlertStyle({
  super.variant,
  super.severity,
  super.margin,
  super.padding,
  super.clipBehavior,
  super.shadowColor,
  super.surfaceTint,
  super.elevation,
  super.foregroundStyle,
  super.foregroundColor,
  super.foregroundOpacity,
  super.foregroundAlpha,
  super.foregroundSpacing,
  super.foregroundLoosen,
  super.foregroundExpanded,
  super.foregroundAlign,
  super.foregroundJustify,
  super.backgroundColor,
  super.backgroundOpacity,
  super.backgroundAlpha,
  super.borderColor,
  super.borderOpacity,
  super.borderAlpha,
  super.borderWidth,
  super.borderRadius,
  super.borderStyle,
  super.iconColor,
  super.iconOpacity,
  super.iconSize,
}) : super(width: double.infinity);