Skip to main content

Search

Items tagged with: ValueNotifier




#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




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

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

⇧