#10 - Bloc State Not Updating - Comparing 2 objects in Dart, Equatable Package, How to Fix Issue

Опубликовано: 21 Март 2026
на канале: Flutterly
21,014
791

Hi there!

Here's the github repository where you can clone all the source code:
https://github.com/TheWCKD/blocFromZe...

In this tutorial I will explain to you why it's important to understand how Dart compares 2 objects in different scenarios. Understanding this will eventually help you fix a well-known issue some of the new bloc users encounter while working on their projects - the problem in which the state of a bloc/cubit won't update anymore. We'll take a look over the most frequent mistakes users make regarding this topic. As a bonus, I'll introduce you to Equatable package! Enjoy!

All animations were done in VideoScribe, you can try it by clicking my affiliate link --- https://www.awin1.com/cread.php?awinm...

You can contact me directly here:

Join my Discord Server ---   / discord  
Twitter ---   / letsgetwckd  
Instagram ---   / letsgetwckd  

Also, if you want to support me furthermore you can become an YouTube Member, donate or buy my courses on Udemy, using the following links:

Become an Official YouTube Member! ----    / flutterly  
Buy my Udemy Courses! ---- https://www.udemy.com/user/tiberiu-po...
Support me on Revolut! ---- https://revolut.me/letsgetwckd
Buy me a Ko-fi! --- https://ko-fi.com/wckdyt
Donate me on Paypal! --- https://www.paypal.me/letsgetwckd
Support me on Patreon! ---   / wckdyt