AlertThemeData.from constructor
AlertThemeData.from([
- AlertThemeData? other
Creates a AlertThemeData from another one that probably null.
Implementation
AlertThemeData.from([AlertThemeData? other])
: curve = other?.curve ?? fallback.curve,
duration = other?.duration ?? fallback.duration,
style = other?.style ?? fallback.style,
variantStyle = other?.variantStyle ?? fallback.variantStyle,
dangerStyle = other?.dangerStyle ?? fallback.dangerStyle,
warningStyle = other?.warningStyle ?? fallback.warningStyle,
successStyle = other?.successStyle ?? fallback.successStyle,
infoStyle = other?.infoStyle ?? fallback.infoStyle;