title: How do i open other .dart activity from bottom navigation bar item?
body: <p>I have implemented the following bottom navigation bar with the flutter</p>
  
  <pre><code>import 'package:flutter/material.dart';
  
  class Test extends StatelessWidget  {
  @override
  Widget build(BuildContext context) {
  // TODO: implement build
  return new Scaffold(
      bottomNavigationBar: new BottomNavigationBar(
          items: [
            new BottomNavigationBarItem(
                icon: new Icon(Icons.add),
                title: new Text("trends")
            ),
            new BottomNavigationBarItem(
                icon: new Icon(Icons.location_on),
                title: new Text("feed")
            ),
            new BottomNavigationBarItem(
                icon: new Icon(Icons.people),
                title: new Text("community")
            )
          ]
      )
  );}}
  </code></pre>
  
  <p>How do I make, <code>onTap</code> on each <code>BottomNavigationBar</code> item opens new <code>.dart</code> class?
  I have tried with the <code>TabBarView</code> for the tab but have no clue what to do for the bottom navigation bar.</p>