title: when i open new page from appBar tabs, bottombar not hiding. Flutter
body: <p>I'm try to open some page from appbar tabs. I expect when i click the listView item, it will return a new page. It is return a new page but bottom bar not hiding. How can i fixed it? Maybe screenshots will help.<a href="https://i.stack.imgur.com/POolg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/POolg.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/v4JLZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/v4JLZ.png" alt="enter image description here" /></a></p>
  <p>And onTap method;</p>
  <pre><code>onTap: () {
             
              String kacinciAy = (index + 1).toString();
              Navigator.push(
                context,
                MaterialPageRoute(
                  builder: (context) =&gt; Ay(
                    kacinciAy: kacinciAy,
                  ),
                ),
              );
            },
  </code></pre>
  <p>And my navBar codes</p>
  <pre><code> return MaterialApp(
        home: DefaultTabController(
          length: 5,
          child: Scaffold(
              appBar: PreferredSize(
                preferredSize: Size.fromHeight(35),
                child: Container(
                  color: Colors.green,
                  child: SafeArea(
                    child: Column(
                      children: [
                        Expanded(child: Container()),
                        TabBar(
                          tabs: [
                            Text(&quot;Günlük&quot;),
                            Text(&quot;Takvim&quot;),
                            Text(&quot;Hafta&quot;),
                            Text(&quot;Ay&quot;),
                            Text(&quot;Toplam&quot;)
                          ],
                        ),
                      ],
                    ),
                  ),
                ),
              ),
              body: TabBarView(
                children: [
                  GunlukVeri(context),
                  Takvim(),
                  Hafta(),
                  Denek(),
                  Column(
                    children: [Text(&quot;toplam&quot;)],
                  ),
                ],
              )),
        ),
      );
    }
  </code></pre>