long25vn / flutter-co-ban

Tuyển tập tài liệu, hướng dẫn, ví dụ về Flutter
5 stars 0 forks source link

BottomNavigationBar items become white when more than 3 items are present #2

Open long25vn opened 4 years ago

long25vn commented 4 years ago

E/AccessibilityBridge( 5719): VirtualView node must not be the root node.

bottomNavigationBar: BottomNavigationBar( items: [ BottomNavigationBarItem( icon: Icon(Icons.devices), title: Text("HOME1"), ), BottomNavigationBarItem( icon: Icon(Icons.dialpad), title: Text("HOME1"), ), BottomNavigationBarItem( icon: Icon(Icons.home), title: Text("HOME1"), ), ], ),



![](https://i.imgur.com/hDobKHd.png)
![](https://i.imgur.com/vRHpMAL.png)
long25vn commented 4 years ago

when use BottomNavigationBarType.fixed that ok ,but when use BottomNavigationBarType.shifting that wrong

https://github.com/flutter/flutter/issues/13642#issuecomment-371875044

long25vn commented 4 years ago

https://github.com/flutter/flutter/issues/13642#issuecomment-371875044

long25vn commented 4 years ago