AlertTheme constructor
const
AlertTheme({
- EdgeInsetsGeometry? padding,
- Color? backgroundColor,
- Color? borderColor,
Creates an AlertTheme.
All parameters are optional and can be null to use default values.
Example:
const AlertTheme(
padding: EdgeInsets.all(16.0),
backgroundColor: Colors.blue,
borderColor: Colors.blueAccent,
);
Implementation
const AlertTheme({this.padding, this.backgroundColor, this.borderColor});