You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
check_mounted_after_async false positive on await showDialog(): The rule flagged await showDialog(...) (and showModalBottomSheet, showSnackBar) as needing a mounted check even when no prior await existed. The _hasAwaitBefore() helper searched for 'await ' in the source text before the MethodInvocation offset, but when the call was itself the awaited expression (await showDialog(...)), its own await keyword appeared in that substring. Now uses the parent AwaitExpression's offset when the target is directly awaited, so only genuinely preceding awaits are detected.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
A new version has been published!
Release: v4.9.13
[4.9.13] - current
Fixed
check_mounted_after_asyncfalse positive onawait showDialog(): The rule flaggedawait showDialog(...)(andshowModalBottomSheet,showSnackBar) as needing a mounted check even when no prior await existed. The_hasAwaitBefore()helper searched for'await 'in the source text before theMethodInvocationoffset, but when the call was itself the awaited expression (await showDialog(...)), its ownawaitkeyword appeared in that substring. Now uses the parentAwaitExpression's offset when the target is directly awaited, so only genuinely preceding awaits are detected.All reactions