[CP] Fix null-check error in DWDS when debugging Flutter widgets from VS Code (stable) #140712
Labels
cp: approved
Approved cherry-pick request
cp: merge-to-stable
Cherry-picks that should be merged to stable
cp: merged
Cherry-pick has been merged to the release branch.
cp: review
Cherry-picks in the review queue
Issue Link
dart-lang/webdev#2297
Target
stable
PR Link
#140711
Changelog Description
Updates DWDS (dependency of flutter_tools) to a hotfix release version. This hotfix release version is identical to the current DWDS version in Flutter stable, except it includes a fix for a null-cast error. See https://pub.dev/packages/dwds/versions/21.0.0+1/changelog
Impacted Users
Flutter developers debugging Flutter widgets from VS Code
Impact Description
Null-cast error displayed in VS Code when a developer tries to inspect a widget's state or build context, see dart-lang/webdev#2297
Workaround
No, it doesn't seem like the proposed workaround is working for all users, see comments after dart-lang/webdev#2297 (comment)
Risk
low
Test Coverage
yes
Validation Steps
Inspect a widget's state or build context from VS Code and verify that you don't see a null-cast error
The text was updated successfully, but these errors were encountered: