AlertStyle.outlined constructor

const AlertStyle.outlined({
  1. Color? color,
  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. double? foregroundOpacity,
  11. int? foregroundAlpha,
  12. double? foregroundSpacing,
  13. bool? foregroundLoosen,
  14. bool? foregroundExpanded,
  15. CrossAxisAlignment? foregroundAlign,
  16. MainAxisAlignment? foregroundJustify,
  17. Color? backgroundColor,
  18. double? backgroundOpacity,
  19. int? backgroundAlpha,
  20. double? borderOpacity,
  21. int? borderAlpha,
  22. double? borderWidth,
  23. BorderRadius? borderRadius,
  24. BorderStyle? borderStyle = BorderStyle.solid,
  25. Color? iconColor,
  26. double? iconOpacity,
  27. double? iconSize,
})

Create AlertStyle with default value for outlined style.

Implementation

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