VgkAlertStyle constructor

const VgkAlertStyle({
  1. AnimationType animationType = AnimationType.fromBottom,
  2. Duration animationDuration = const Duration(milliseconds: 200),
  3. ShapeBorder? alertBorder,
  4. bool isCloseButton = true,
  5. bool isOverlayTapDismiss = true,
  6. Color? backgroundColor,
  7. Color overlayColor = Colors.black87,
  8. TextStyle titleStyle = const TextStyle(color: Colors.black, fontWeight: FontWeight.w500, fontStyle: FontStyle.normal, fontSize: 22.0),
  9. TextStyle descStyle = const TextStyle(color: Colors.black, fontWeight: FontWeight.w400, fontStyle: FontStyle.normal, fontSize: 18.0),
  10. EdgeInsets buttonAreaPadding = const EdgeInsets.all(20.0),
  11. 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});