File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -52,10 +52,12 @@ class DialogStatus<T> {
52
52
///
53
53
/// Prose in [message] should have final punctuation:
54
54
/// https://github.com/zulip/zulip-flutter/pull/1498#issuecomment-2853578577
55
+ ///
56
+ /// The context argument should be a descendant of the app's main [Navigator] .
55
57
// This API is inspired by [ScaffoldManager.showSnackBar]. We wrap
56
58
// [showDialog]'s return value, a [Future], inside [DialogStatus]
57
59
// whose documentation can be accessed. This helps avoid confusion when
58
- // intepreting the meaning of the [Future].
60
+ // interpreting the meaning of the [Future].
59
61
DialogStatus <void > showErrorDialog ({
60
62
required BuildContext context,
61
63
required String title,
@@ -86,6 +88,8 @@ DialogStatus<void> showErrorDialog({
86
88
/// If the dialog was canceled,
87
89
/// either with the cancel button or by tapping outside the dialog's area,
88
90
/// it completes with null.
91
+ ///
92
+ /// The context argument should be a descendant of the app's main [Navigator] .
89
93
DialogStatus <bool > showSuggestedActionDialog ({
90
94
required BuildContext context,
91
95
required String title,
You can’t perform that action at this time.
0 commit comments