Skip to main content

Search

Items tagged with: flutter




#Flutter tip: avoid calling setState() in a long build method or all the child widgets in it will rebuild!

The best solution would be to destructure your build method into multiple small widgets. But if you can’t do that for some case, use the #ValueNotifier widget

#FlutterTip

437778


I may have to try this. I've been using optional arguments with defaults for this instead. For more complex objects this can be more expressive. I've used it for other components (data, service, etc.) but never Widgets.

🧐 Flutter #refactoring tip
Make your widgets more readable using factories

#flutterdev #flutter #fluttertip




Did you know that #Flutter is good for your #allergies? 😏 Specially if you're allergic to #StatefulWidget and would rather have #StatelessWidget 🀠 In many cases you can use #ValueNotifier and #ValueListenableBuilder to avoid making your widgets stateful!

#tipoftheday #dartlang

429186


Announcing Kyanite (Facebook archive viewer) Beta 2 w/several new features and bug fixes. My favorite new feature is the map view for easily finding your geotagged posts and photos. Runs on #linux #macos and #windows written in #flutter #DeleteFacebook nequalsonelifestyle.com/2021/12/07/kya…

Lo, thar be cookies on this site to keep track of your login. By clicking 'okay', you are CONSENTING to this.

⇧