show<T> method
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 ?? const Color(0x00ffffff),
barrierDismissible: dismissable ?? true,
barrierLabel: '',
transitionDuration:
transitionDuration ?? const Duration(milliseconds: 500),
transitionBuilder: (context, animation, secondaryAnimation, child) =>
_animationWidget(animation, child),
useRootNavigator: useRootNavigator ?? false,
);