Tag: BLoC
-
Unwanted widget rebuilds in Flutter waste CPU/GPU and cause jank. They happen when large parts of the tree update even though only a small value changed. The goal is to reduce rebuild scope and make builds cheap and side-effect-free. Approaches Approach A: Move work out of build Keep build pure. Do expensive work once in…
-
State management is a pivotal aspect of app development, especially when dealing with large and complex applications. Flutter offers a plethora of options for managing state, each designed to cater to different project needs and developer preferences. This guide explores the major state management solutions in Flutter, including Riverpod, ScopedModel, InheritedWidget, Provider, BLoC, and Redux,…
