Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

Flutter bottom navigation where one page has tabs

You can use nested Scaffold widgets. This works in Flutter 1.1.8:

// This is the outer Scaffold. No AppBar here
Scaffold(
  // Workaround for https://github.com/flutter/flutter/issues/7036
  resizeToAvoidBottomPadding: false, 
  body: _getCurrentPage(),  // AppBar comes from the Scaffold of the current page 
  bottomNavigationBar: BottomNavigationBar(
    // ...
  )
)

Tags:

Cross Platform

Dart

Flutter

Flutter Layout

Related

Unit Test or Integration Test in Spring Boot Can Google.com and other heavily trafficked websites get a "fast" rank using Google's PSI API? Flip the order of X and Y in MACRO(X)(Y) Pandas, merging two dataframes on multiple columns, and multiplying result Flutter blur image edges are unaffected (iOS only) How to write TIMESTAMP logical type (INT96) to parquet, using ParquetWriter? Is there a way to align a widget to the far right of a row in Flutter? Get count of objects in a specific S3 folder using Boto3 fetch function return Promise <pending> Using a forwardRef component with children in TypeScript Lombok - java.lang.StackOverflowError: null on toString method Equivalent of `break` in purrr::map

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy