flutter/packages
Nate 26e379e0fc
Refactoring if chains into switch statements (#144905)
Based on issue #144903, this PR aims to bring the codebase more in line with the [Flutter repo style guide](https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#avoid-using-if-chains-or--or--with-enum-values):

> #### Avoid using `if` chains or `?:` or `==` with enum values

<br>

This change unfortunately increases the total line length, but it also improves readability.
2024-03-11 23:04:57 +00:00
..
flutter Refactoring if chains into switch statements (#144905) 2024-03-11 23:04:57 +00:00
flutter_driver Upgrade vm_service. (#144845) 2024-03-08 17:09:07 -08:00
flutter_goldens Rename isAvailableForEnvironment to isForEnvironment (#143176) (#144858) 2024-03-10 06:20:38 +00:00
flutter_localizations Upgrade vm_service. (#144845) 2024-03-08 17:09:07 -08:00
flutter_test Refactoring if chains into switch statements (#144905) 2024-03-11 23:04:57 +00:00
flutter_tools Refactoring if chains into switch statements (#144905) 2024-03-11 23:04:57 +00:00
flutter_web_plugins Upgrade vm_service. (#144845) 2024-03-08 17:09:07 -08:00
fuchsia_remote_debug_protocol Upgrade vm_service. (#144845) 2024-03-08 17:09:07 -08:00
integration_test Upgrade vm_service. (#144845) 2024-03-08 17:09:07 -08:00
analysis_options.yaml Unify analysis options (#108462) 2022-07-28 09:07:49 -07:00