title: how to rebuild screen to load data without having to refresh in Flutter
body: <p>I have Card Widget with Favorite button, Favorite Screen and Explore Screen. When I click CardWidget favorite button from Explore Screen, it supposed to show up in the Favorite Screen automatically but right now I have to refresh or hot reload to make the Card Widget to appear so if I can get any help or suggestion will be really appreciated.</p>
  <p>We are using BaseView with ChangeNotifierProvider( Consumer )</p>
  <p>Card Widget Favorite Button</p>
  <pre><code>                                     child: GestureDetector(
                                            onTap: () {
                                              setState(() {
                                                final fm = FavoriteModel(
                                                    id: widget.id,
                                                    name: widget.name,
                                                    ordinal: widget.ordinal,
                                                    showCards: false,
                                                    items: []);
  
                                                if (model.fav
                                                        .modelExists(fm.id) ==
                                                    -1) {
                                                  model.fav.addToFavorite(
                                                      fm.id, fm, widget.item);
                                                }
  
                                                if (widget.item.favorited) {
                                                  model.fav.removeFromFavorite(
                                                      fm.id, widget.item.id);
                                                } else {
                                                  model.fav.addToFavorite(
                                                      fm.id, fm, widget.item);
                                                }
                                              });
                                            },
                                            child: Image(
                                              color:
                                                  Theme.of(context).accentColor,
                                              image: AssetImage(widget
                                                      .item.favorited
                                                  ? 'assets/icons/more-icons/favorited-heart.png'
                                                  : 'assets/icons/more-icons/unfavorited-heart.png'),
                                              fit: BoxFit.cover,
                                              height: 20,
                                            )),
  
  
  </code></pre>
  <p>I have uploaded my Favorite Screen right here so I would be really appreciated if anyone can take a look at it and help me solve it.</p>
  <p><a href="https://docs.google.com/document/d/18d7KspFaqUTsAy-8QmrQ2MzmUEKb953GtS0J2mFSuIs/edit?usp=sharing" rel="nofollow noreferrer">https://docs.google.com/document/d/18d7KspFaqUTsAy-8QmrQ2MzmUEKb953GtS0J2mFSuIs/edit?usp=sharing</a></p>