mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
* Remove unnecessary `?`s from web_ui. In https://dart-review.googlesource.com/c/sdk/+/163841, dart's flow analysis is being changed so that an assignment like this: T? x = <non-nullable value>; causes `x` to be immediately promoted to type `T`. This exposed two instances in which a variable was unnecessarily given a nullable type. To avoid warnings, we need to fix these two types before https://dart-review.googlesource.com/c/sdk/+/163841 can land.