title: Jump pages in Pageview.builder with Consumer
body: <p>I'm trying to make a feed where once the users uploads a post, the post gets added to the top of the feed and the user can see the post they just made. Right now I have a ChangeNotifierProvider and Consumer that is getting newly updated data from my view model. Inside the ChangeNotifierProvider, I have a pageview.builder. How would I get the pageview.builder to refresh pages so that the users post is now shown? I have tried using the onPageJumped but I can't use that inside the ChangeNotifier.</p>
  <pre><code>Widget _buildScreen(VideoPlayerViewModel viewModel) {
      return ChangeNotifierProvider&lt;VideoPlayerViewModel&gt;(
          create: (context) =&gt; viewModel,
          child: Consumer&lt;VideoPlayerViewModel&gt;(
              builder: (context, model, child) =&gt; PageView.builder(
                  controller: pageController,
                  scrollDirection: Axis.vertical,
                  itemCount: videoPlayerViewModel.intialVideoDataLength,
                  itemBuilder: (BuildContext context, int index) {
                    var data = videoPlayerViewModel.intialVideoData;
  
                    return VideoScaffoldWidget(videoData: data[index]);
                  })));
    }
  </code></pre>