AlertTheme constructor

const AlertTheme({
  1. EdgeInsetsGeometry? padding,
  2. Color? backgroundColor,
  3. 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});