Skip to content

Instantly share code, notes, and snippets.

View TheHemantKaushik's full-sized avatar

Hemant Kaushik TheHemantKaushik

View GitHub Profile
@TheHemantKaushik
TheHemantKaushik / flutter_tab_navigator.dart
Last active November 15, 2022 17:03
This Flutter app example show how to use bottom navigation bar with tabs inner navigation. Also, how to handle Android's back button to pop inner screens of tab and double tap bottom navigation item to pop all inner screens of a tab.
///
/// Example GIF image:
/// https://ibb.co/mbqF72Q
///
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
void main() {