Unverified Commit 70d253b9 authored by Mateus Felipe C. C. Pinto's avatar Mateus Felipe C. C. Pinto Committed by GitHub

Remove references to CupertinoDialog (#68508)

parent 53173309
...@@ -1104,12 +1104,11 @@ Widget _buildCupertinoDialogTransitions(BuildContext context, Animation<double> ...@@ -1104,12 +1104,11 @@ Widget _buildCupertinoDialogTransitions(BuildContext context, Animation<double>
/// barrier behavior (by default, the dialog is not dismissible with a tap on /// barrier behavior (by default, the dialog is not dismissible with a tap on
/// the barrier). /// the barrier).
/// ///
/// This function takes a `builder` which typically builds a [CupertinoDialog] /// This function takes a `builder` which typically builds a [CupertinoAlertDialog]
/// or [CupertinoAlertDialog] widget. Content below the dialog is dimmed with a /// widget. Content below the dialog is dimmed with a [ModalBarrier]. The widget
/// [ModalBarrier]. The widget returned by the `builder` does not share a /// returned by the `builder` does not share a context with the location that
/// context with the location that `showCupertinoDialog` is originally called /// `showCupertinoDialog` is originally called from. Use a [StatefulBuilder] or
/// from. Use a [StatefulBuilder] or a custom [StatefulWidget] if the dialog /// a custom [StatefulWidget] if the dialog needs to update dynamically.
/// needs to update dynamically.
/// ///
/// The `context` argument is used to look up the [Navigator] for the dialog. /// 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 /// It is only used when the method is called. Its corresponding widget can
...@@ -1129,7 +1128,6 @@ Widget _buildCupertinoDialogTransitions(BuildContext context, Animation<double> ...@@ -1129,7 +1128,6 @@ Widget _buildCupertinoDialogTransitions(BuildContext context, Animation<double>
/// ///
/// See also: /// See also:
/// ///
/// * [CupertinoDialog], an iOS-style dialog.
/// * [CupertinoAlertDialog], an iOS-style alert dialog. /// * [CupertinoAlertDialog], an iOS-style alert dialog.
/// * [showDialog], which displays a Material-style dialog. /// * [showDialog], which displays a Material-style dialog.
/// * [showGeneralDialog], which allows for customization of the dialog popup. /// * [showGeneralDialog], which allows for customization of the dialog popup.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment