title: Bottom navigation bar stopped working ScrollController attached to multiple scroll views pagecontroller.jumpTo error
body: <p>'package:flutter/src/widgets/scroll_controller.dart': Failed assertion: line 113 pos 12: '_positions.length == 1': ScrollController attached to multiple scroll views.</p>
  <p>After that error bottom navigation bar stop changing the current page's of pageview.</p>
  <pre><code>PageController pageController;
  
  class MainController extends StatefulWidget {
    @override
    _MainControllerState createState() =&gt; _MainControllerState();
  }
  
  class _MainControllerState extends State&lt;MainController&gt;
      with TickerProviderStateMixin {
  
  
  @override
    void initState() {
      // TODO: implement initState
      super.initState();
      pageController = PageController(initialPage: 0, keepPage: true);
    }
  
    @override
    void dispose() {
      // TODO: implement dispose
      super.dispose();
      pageController.dispose();
    }
  
  </code></pre>
  <pre><code>
  PagesList() {
      return BlocBuilder&lt;BottomnavbarcubitCubit, BottomnavbarcubitState&gt;(
        builder: (context, state) {
          return Scaffold(
            body: PageView(
              allowImplicitScrolling: true,
              controller: pageController,
              onPageChanged: (int index) =&gt; state.currentIndex = index,
              children: [
                NotificationsScreen(),
                NotificationsScreen(),
                NotificationsScreen(),
                NotificationsScreen(),
               
              ],
            ),
            bottomNavigationBar: NormalNavBar(),
          );
        },
      );
    }
  }
  
  </code></pre>
  <p>Bottomnavbar's onTap func that creates error</p>
  <pre><code> try {
                if (pageController.hasClients)
                  await pageController.animateToPage(state.currentIndex,
                      duration: Duration(milliseconds: 500),
                      curve: Curves.elasticOut);
              } catch (err) {
                print(err);
              }
  
  </code></pre>
  <pre><code>E/flutter (30081): #18     GestureBinding._handlePointerEvent
  package:flutter/…/gestures/binding.dart:295
  E/flutter (30081): #19     GestureBinding._flushPointerEventQueue
  package:flutter/…/gestures/binding.dart:240
  E/flutter (30081): #20     GestureBinding._handlePointerDataPacket
  package:flutter/…/gestures/binding.dart:213
  E/flutter (30081): #21     _rootRunUnary (dart:async/zone.dart:1206:13)
  E/flutter (30081): #22     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
  E/flutter (30081): #23     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1005:7)
  E/flutter (30081): #24     _invoke1 (dart:ui/hooks.dart:265:10)
  E/flutter (30081): #25     _dispatchPointerDataPacket (dart:ui/hooks.dart:174:5)
  </code></pre>