Publish to my blog (weekly)
Flutter: The power of small and reusable widgets Every time I build a new feature or page in Flutter, I always ask myself which logical UI components are needed, and build them as custom widgets. One easy way to identify logical UI components, is to see if they are used more than once. Singletons in Flutter: How to Avoid Them and What to do Instead late all global variables are lazy-loaded by default (and this is also true for static class variables ). This means that they are only initialized when they are first used . On the other hand, local variables...