Non Null Type Inference After Null Checking in Flutter
-
It is silly that Flutter cannot dictate from the null check not a moment ago, and infer that a variable is in fact non-nullable. There is only one possible control flow from that point on! Bang operator is risky because there's possibility of neglecting the operator in future refactoring. So I use this approach.
Read More »