showCupDialog<T> method
Displays an iOS-style dialog above the current contents of the app, with iOS-style entrance and exit animations, modal barrier color, and modal barrier behavior (the dialog is not dismissible with a tap on the barrier).
Equivalent to cupertino.showCupertinoDialog.
Implementation
Future<T?> showCupDialog<T>({
required cupertino.WidgetBuilder builder,
bool useRootNavigator: true,
cupertino.RouteSettings? routeSettings,
}) {
return cupertino.showCupertinoDialog<T>(
context: this,
builder: builder,
useRootNavigator: useRootNavigator,
routeSettings: routeSettings,
);
}