title: Double tap in bottom navigaton bar item Flutter
body: <p>In my home page i have a bottom navigation with 2 menu.</p>
  <p>I have origin library <code>bottomNavigationBar: BottomNavigationBar</code></p>
  <p>In original library there is no property <code>onDoubleTap</code></p>
  <p>Are there any technique to implement with it.</p>
  <p>Here what I do now</p>
  <pre><code>List&lt;Widget&gt; _widgetOptions;
  int _selectedIndex = 0;
  @override
  void initState() {
  super.initState();
  _widgetOptions = &lt;Widget&gt;[
    HomeScreen(),
    SettingScreen();
  ];
   }
  void _onItemTapped(int index) {
    setState(() {
      _selectedIndex = index;
    });
  }
  @override
  Widget build(BuildContext context) {
  return Scaffold(
    body: IndexedStack(
      children: _widgetOptions,
      index: _selectedIndex,
    ),
    bottomNavigationBar: BottomNavigationBar(
      items: &lt;BottomNavigationBarItem&gt;[
        BottomNavigationBarItem(
          icon: Image.asset(&quot;assets/icons/home.png&quot;,
          ),
          activeIcon: Image.asset(
            &quot;assets/icons/home_active.png&quot;,
          ),
        ),
        BottomNavigationBarItem(
            icon: Image.asset(
              &quot;assets/icons/service.png&quot;,
            ),
            activeIcon: Image.asset(
              &quot;assets/icons/service.png&quot;,
            ),
        ),
      ],
      currentIndex: _selectedIndex,
      onTap: _onItemTapped,
    ),
  );
  }  
  </code></pre>