From 70d253b9a69e653ce98970d60d001ff50e92d954 Mon Sep 17 00:00:00 2001 From: "Mateus Felipe C. C. Pinto" Date: Thu, 29 Oct 2020 17:58:04 -0300 Subject: [PATCH] Remove references to CupertinoDialog (#68508) --- packages/flutter/lib/src/cupertino/route.dart | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/packages/flutter/lib/src/cupertino/route.dart b/packages/flutter/lib/src/cupertino/route.dart index 40e7fea836..61c9ee37ed 100644 --- a/packages/flutter/lib/src/cupertino/route.dart +++ b/packages/flutter/lib/src/cupertino/route.dart @@ -1104,12 +1104,11 @@ Widget _buildCupertinoDialogTransitions(BuildContext context, Animation /// barrier behavior (by default, the dialog is not dismissible with a tap on /// the barrier). /// -/// This function takes a `builder` which typically builds a [CupertinoDialog] -/// or [CupertinoAlertDialog] widget. Content below the dialog is dimmed with a -/// [ModalBarrier]. The widget returned by the `builder` does not share a -/// context with the location that `showCupertinoDialog` is originally called -/// from. Use a [StatefulBuilder] or a custom [StatefulWidget] if the dialog -/// needs to update dynamically. +/// This function takes a `builder` which typically builds a [CupertinoAlertDialog] +/// widget. Content below the dialog is dimmed with a [ModalBarrier]. The widget +/// returned by the `builder` does not share a context with the location that +/// `showCupertinoDialog` is originally called from. Use a [StatefulBuilder] or +/// a custom [StatefulWidget] if the dialog needs to update dynamically. /// /// The `context` argument is used to look up the [Navigator] for the dialog. /// It is only used when the method is called. Its corresponding widget can @@ -1129,7 +1128,6 @@ Widget _buildCupertinoDialogTransitions(BuildContext context, Animation /// /// See also: /// -/// * [CupertinoDialog], an iOS-style dialog. /// * [CupertinoAlertDialog], an iOS-style alert dialog. /// * [showDialog], which displays a Material-style dialog. /// * [showGeneralDialog], which allows for customization of the dialog popup.