![flutter analyze does not detect returns from switch statement with all enum cases · Issue #37498 · dart-lang/sdk · GitHub flutter analyze does not detect returns from switch statement with all enum cases · Issue #37498 · dart-lang/sdk · GitHub](https://user-images.githubusercontent.com/71999/61088494-ca17c980-a47b-11e9-8c2e-f4b8fe5415d7.png)
flutter analyze does not detect returns from switch statement with all enum cases · Issue #37498 · dart-lang/sdk · GitHub
![Flutter on Twitter: "Don't forget to deal with a valid state by using enums and switch statements. Having a switch statement that doesn't cover all possible values of the enum is a Flutter on Twitter: "Don't forget to deal with a valid state by using enums and switch statements. Having a switch statement that doesn't cover all possible values of the enum is a](https://pbs.twimg.com/media/DpUzG5WUYAAN3Im.jpg)
Flutter on Twitter: "Don't forget to deal with a valid state by using enums and switch statements. Having a switch statement that doesn't cover all possible values of the enum is a
![Switch statement for enum should create all the cases · Issue #2969 · flutter/flutter-intellij · GitHub Switch statement for enum should create all the cases · Issue #2969 · flutter/flutter-intellij · GitHub](https://user-images.githubusercontent.com/40364434/50101856-affd6c00-0249-11e9-9e57-6fc617a786f7.png)
Switch statement for enum should create all the cases · Issue #2969 · flutter/flutter-intellij · GitHub
![flutter analyze does not detect returns from switch statement with all enum cases · Issue #37498 · dart-lang/sdk · GitHub flutter analyze does not detect returns from switch statement with all enum cases · Issue #37498 · dart-lang/sdk · GitHub](https://user-images.githubusercontent.com/1078012/61046458-19ef8580-a3d5-11e9-994c-fe816864bb5b.png)