Fixed bug in PersistentTabView with wrong inset when keyboard is open

This commit is contained in:
Elias Müller 2023-09-15 23:55:12 +02:00
parent 18fb389210
commit eb5eec3576

View File

@ -72,6 +72,8 @@ class _AppState extends State<App> {
context,
controller: tabController,
navBarStyle: NavBarStyle.style6,
hideNavigationBarWhenKeyboardShows: true,
navBarHeight: MediaQuery.of(context).viewInsets.bottom > 0 ? 0.0 : kBottomNavigationBarHeight,
backgroundColor: Theme.of(context).colorScheme.surface,
decoration: const NavBarDecoration(
border: Border(top: BorderSide(width: 1, color: Colors.grey)),