![Flutter no 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 no 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 no 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
![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)
flutter analyze does not detect returns from switch statement with all enum cases · Issue #37498 · dart-lang/sdk · GitHub
![flutter - Is there any way I can use switch statement inside a container in assigning colors to that container from a list of colors - Stack Overflow flutter - Is there any way I can use switch statement inside a container in assigning colors to that container from a list of colors - Stack Overflow](https://i.stack.imgur.com/iWzp9.png)