title: Flutter: How to jump to initial page without dynamic button click event after PageView build
body: <p>I need to automatically jump to 2nd page after pageview build.</p>
  
  <p>I already tried:</p>
  
  <pre><code>_pageController = PageController(initialPage: 1, keepPage: false);
  _pageController.jumpToPage(1); //removed this line cause of errors
  </code></pre>
  
  <p>Code</p>
  
  <pre><code>Widget build(BuildContext context) {
    return SizedBox(
      height: _pageViewHeight,
      child: PageView.builder(
        physics: BouncingScrollPhysics(),
        itemCount: state.accountList.length,
        controller: _pageController,
        onPageChanged: (int pageIndex) {
        },
  
        // Body
        itemBuilder: (BuildContext context, int itemIndex) {
          return _buildPageViewItem(context, state.accountList[itemIndex]);
        },
      ),
    );
  }
  </code></pre>
  
  <p>Following errors occured:</p>
  
  <pre class="lang-none prettyprint-override"><code>ScrollController not attached to any scroll views.
  'package:flutter/src/widgets/scroll_controller.dart':
  Failed assertion: line 110 pos 12: '_positions.isNotEmpty'
  When the exception was thrown, this was the stack: ScrollController.position
  Another exception was thrown: 'package:flutter/src/rendering/sliver_multi_box_adaptor.dart': 
  Failed assertion: line 263 pos 16: 'child == null || indexOf(child) &gt; index': is not true.
  </code></pre>