mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Add more dialog doc cross-reference (#30887)
This commit is contained in:
parent
259641c4b3
commit
2736c8c19f
@ -125,6 +125,7 @@ bool _isInAccessibilityMode(BuildContext context) {
|
||||
/// * [CupertinoPopupSurface], which is a generic iOS-style popup surface that
|
||||
/// holds arbitrary content to create custom popups.
|
||||
/// * [CupertinoDialogAction], which is an iOS-style dialog button.
|
||||
/// * [AlertDialog], a Material Design alert dialog.
|
||||
/// * <https://developer.apple.com/ios/human-interface-guidelines/views/alerts/>
|
||||
class CupertinoAlertDialog extends StatelessWidget {
|
||||
/// Creates an iOS-style alert dialog.
|
||||
|
||||
@ -189,6 +189,7 @@ class Dialog extends StatelessWidget {
|
||||
///
|
||||
/// * [SimpleDialog], which handles the scrolling of the contents but has no [actions].
|
||||
/// * [Dialog], on which [AlertDialog] and [SimpleDialog] are based.
|
||||
/// * [CupertinoAlertDialog], an iOS-styled alert dialog.
|
||||
/// * [showDialog], which actually displays the dialog and returns its result.
|
||||
/// * <https://material.io/design/components/dialogs.html#alert-dialog>
|
||||
class AlertDialog extends StatelessWidget {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user