show method

Future<Object?> show(
  1. dynamic primaryColor
)

Implementation

Future<Object?> show(primaryColor) async {
  return await showGeneralDialog(
    context: context,
    pageBuilder: (BuildContext buildContext, Animation<double> animation,
        Animation<double> secondaryAnimation) {
      return _buildDialog(primaryColor);
    },
    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),
  );
}