We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6337e08 commit 6365388Copy full SHA for 6365388
lib/widgets/dialog.dart
@@ -31,10 +31,13 @@ class DialogStatus {
31
///
32
/// The [DialogStatus.closed] field of the return value can be used
33
/// for waiting for the dialog to be closed.
34
+///
35
+/// The context argument is used to look up [ZulipLocalizations],
36
+/// the [Navigator] and [Theme] for the dialog.
37
// This API is inspired by [ScaffoldManager.showSnackBar]. We wrap
38
// [showDialog]'s return value, a [Future], inside [DialogStatus]
39
// whose documentation can be accessed. This helps avoid confusion when
-// intepreting the meaning of the [Future].
40
+// interpreting the meaning of the [Future].
41
DialogStatus showErrorDialog({
42
required BuildContext context,
43
required String title,
0 commit comments