show<T> method

Future show<T>(
  1. BuildContext context
)

Show dialog directly

Implementation

Future show<T>(BuildContext context) => showGeneralDialog<T>(
      context: context,
      routeSettings: routeSettings,
      pageBuilder: (context, animation, secondaryAnimation) =>
          (useSafeArea ?? true) ? SafeArea(child: child) : child,
      barrierColor: barrierColor ?? Color(0x00ffffff),
      barrierDismissible: dismissable ?? true,
      barrierLabel: "",
      transitionDuration: transitionDuration ?? Duration(milliseconds: 500),
      transitionBuilder: (context, animation, secondaryAnimation, child) =>
          _animationWidget(animation, child),
      useRootNavigator: useRootNavigator ?? false,
    );