Member-only story
Google Flutter Antipattern To Avoid For Fast Responsive Flutter Apps
What is awful about Google’s Flutter examples is that they reproduce bad antipatterns that you should never do in a fast, responsive flutter app. While it is nice that they avoid putting such things in the Flutter SDK; it is a real disservice to those learning flutter to have them in the samples included in the flutter SDK.
So what, the hell, am I talking about? Let me show you an example from the samples folder of the SDK install, this is the scaffolding to the material 3 demo:
Notice anything bad yet? Probably not, as lazy coders are all over the place, even at Google! Now to explain the antipattern, I will be explaining flutter SDK internals of how widgets get rendered.