mirror of
https://github.com/flutter/flutter.git
synced 2026-01-19 20:22:03 +08:00
This pull request refactors if-statements into switch expressions, as part of the effort to solve issue #144903. Making changes beyond just swapping syntax is more difficult (and also more difficult to review, I apologize), but much more satisfying too.