VgkAlertStyle constructor
const
VgkAlertStyle({
- AnimationType animationType = AnimationType.fromBottom,
- Duration animationDuration = const Duration(milliseconds: 200),
- ShapeBorder? alertBorder,
- bool isCloseButton = true,
- bool isOverlayTapDismiss = true,
- Color? backgroundColor,
- Color overlayColor = Colors.black87,
- TextStyle titleStyle = const TextStyle(color: Colors.black, fontWeight: FontWeight.w500, fontStyle: FontStyle.normal, fontSize: 22.0),
- TextStyle descStyle = const TextStyle(color: Colors.black, fontWeight: FontWeight.w400, fontStyle: FontStyle.normal, fontSize: 18.0),
- EdgeInsets buttonAreaPadding = const EdgeInsets.all(20.0),
- BoxConstraints? constraints,
Implementation
const VgkAlertStyle(
{this.animationType = AnimationType.fromBottom,
this.animationDuration = const Duration(milliseconds: 200),
this.alertBorder,
this.isCloseButton = true,
this.isOverlayTapDismiss = true,
this.backgroundColor,
this.overlayColor = Colors.black87,
this.titleStyle = const TextStyle(
color: Colors.black,
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
fontSize: 22.0),
this.descStyle = const TextStyle(
color: Colors.black,
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
fontSize: 18.0),
this.buttonAreaPadding = const EdgeInsets.all(20.0),
this.constraints});