AlertStyle.from constructor
AlertStyle.from(
- AlertStyle? other
Create a alert's style from another style
Implementation
AlertStyle.from(AlertStyle? other)
: super(
variant: other?.variant,
severity: other?.severity,
width: double.infinity,
margin: other?.margin,
padding: other?.padding,
clipBehavior: other?.clipBehavior,
shadowColor: other?.shadowColor,
surfaceTint: other?.surfaceTint,
elevation: other?.elevation,
foregroundStyle: other?.foregroundStyle,
foregroundColor: other?.foregroundColor,
foregroundOpacity: other?.foregroundOpacity,
foregroundAlpha: other?.foregroundAlpha,
foregroundSpacing: other?.foregroundSpacing,
foregroundLoosen: other?.foregroundLoosen,
foregroundExpanded: other?.foregroundExpanded,
foregroundAlign: other?.foregroundAlign,
foregroundJustify: other?.foregroundJustify,
backgroundColor: other?.backgroundColor,
backgroundOpacity: other?.backgroundOpacity,
backgroundAlpha: other?.backgroundAlpha,
borderColor: other?.borderColor,
borderOpacity: other?.borderOpacity,
borderAlpha: other?.borderAlpha,
borderWidth: other?.borderWidth,
borderRadius: other?.borderRadius,
borderStyle: other?.borderStyle,
iconColor: other?.iconColor,
iconOpacity: other?.iconOpacity,
iconSize: other?.iconSize,
);