show method

void show()

Displays defined alert window

Implementation

void show() {
  showGeneralDialog(
    context: context,
    pageBuilder: (BuildContext buildContext, Animation<double> animation,
        Animation<double> secondaryAnimation) {
      return _buildDialog();
    },
    barrierDismissible: style.isOverlayTapDismiss,
    barrierLabel: MaterialLocalizations.of(context).modalBarrierDismissLabel,
    barrierColor: style.overlayColor,
    transitionDuration: style.animationDuration,
    transitionBuilder: (
      BuildContext context,
      Animation<double> animation,
      Animation<double> secondaryAnimation,
      Widget child,
    ) =>
        _showAnimation(animation, secondaryAnimation, child),
  );
}