relative_dialog library


showRelativeDialog<T>({required BuildContext context, required WidgetBuilder builder, Alignment alignment = Alignment.bottomLeft, Offset offset =, String barrierLabel = 'dismiss', Color barrierColor = Colors.black54, bool barrierDismissible = true, bool useSafeArea = true, bool useRootNavigator = true, RouteSettings? routeSettings, RouteTransitionsBuilder? transitionBuilder, Duration transitionDuration = const Duration(milliseconds: 200)}) Future<T?>
Displays a dialog above the current contents of the app using showDialog relative to the widget associated with the given BuildContext.