Skip to content

Conversation

@bleroux
Copy link
Contributor

@bleroux bleroux commented Jul 8, 2022

Description

This PR improves the error message sent when calling showDialog with a stale context.

Related Issue

Fixes #12467

Tests

Adds 1 test.

@flutter-dashboard flutter-dashboard bot added f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. labels Jul 8, 2022
@bleroux bleroux force-pushed the fix_show_dialog_inactive_context branch from 8bbee16 to be681a9 Compare July 8, 2022 18:21
@bleroux bleroux requested a review from guidezpl July 8, 2022 19:13
Copy link
Member

@guidezpl guidezpl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  _    ___ _____ __  __ 
 | |  / __|_   _|  \/  |
 | |_| (_ | | | | |\/| |
 |____\___| |_| |_|  |_|
                        

@fluttergithubbot fluttergithubbot merged commit f614c59 into flutter:master Jul 8, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 9, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Jul 9, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Jul 9, 2022
@bleroux bleroux deleted the fix_show_dialog_inactive_context branch July 15, 2022 11:23
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 30, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve error message that occurs when using a stale context in showDialog.

3 participants