![Rob Pilling on Twitter: "@BarryRevzin If you're using gcc or clang, -Wswitch-enum will warn about switches over enums even if there's a default case. As a side note, both clang and a Rob Pilling on Twitter: "@BarryRevzin If you're using gcc or clang, -Wswitch-enum will warn about switches over enums even if there's a default case. As a side note, both clang and a](https://pbs.twimg.com/media/EA6hjwDX4AE9FSP.png)
Rob Pilling on Twitter: "@BarryRevzin If you're using gcc or clang, -Wswitch-enum will warn about switches over enums even if there's a default case. As a side note, both clang and 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 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 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)