title: Flutter: Refresh parent widget on Navigation.pop
body: <p>I have a parent widget "BookmarkedShows" and child widget "ListOfShows". From child widget, when user taps on list item, it opens details page. When the user removes the show from bookmark from details page, on pressing back button, the show is not removed from the listing page. ie the parent is not refreshed. I'm using BlocBuilder.</p>
  
  <p>There are some options mentioned in other question to add .then() to Navigator.push() method. However Navigator.push() happens in children component. How would I force refresh parent BlocBuilder during Navigation.pop()?</p>
  
  <p>Parent "BookmarkedShows":</p>
  
  <pre><code>class BookmarkedShows extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
      return BlocProvider(
        create: (context) =&gt; BookmarkShowsBloc()..add(LoadBookmarkedShows()),
        child: BlocBuilder&lt;BookmarkShowsBloc, BookmarkedShowsState&gt;(
            builder: (BuildContext context, BookmarkedShowsState state) {
                return ShowList("Bookmarked shows", state.shows)
            }),
      );
    }
  }
  
  </code></pre>
  
  <p>Child "ListOfShows":</p>
  
  <pre><code>class ListOfShows extends StatelessWidget {
    final String listName;
    final List&lt;Show&gt; shows;
  
    const ListOfShows(this.listName, this.shows);
  
    @override
    Widget build(BuildContext context) {
      return Wrap(children: shows.map((show) =&gt; showItem(show, context)).toList());
    }
  
    InkWell showItem(Show show, BuildContext context) {
      return InkWell(
          onTap: () async {
            await Navigator.of(context).push(MaterialPageRoute(
                builder: (context) =&gt; showDetails(show)));
          },
          child: Container(
                CachedNetworkImage(
                    imageUrl: show.portraitPoster
                ),
          ));
    }
  }
  
  </code></pre>