THANK YOU! This is beautiful!

This article hit the hardest in two places:

  1. I suffered when I first started with InheritedWidgets with the fact that they rebuilt the whole context that subscribes to them. I had small icons on a screen subscribing to them, and my whole screen was rebuilding. I ended up wrapping each of those icons with a Builder to provide each icon with its own context.
  2. I had a screen that had filters and a products list, and I went through a lot bubbling events all the way up, and then all the way down. Now, I have to reuse parts of this screen somewhere else, but I won’t do that before I refactor it to use the BLoC pattern!

    AbdulRahman AlHamali

    Written by

    Software Engineer, Life-time Student