Flutter. Remove ifs from the widget tree. Final solution.

New State to Widget pattern explained.