bottomNavigationBarType property
Defines the layout and behavior of a BottomNavigationBar.
The enum BottomNavigationBarType can be
- BottomNavigationBarType.fixed, where items have fixed width.
- BottomNavigationBarType.shifting, where location and size of the items animate and labels fade in when they are tapped.
If undefined, defaults to Flutter SDK default. Where If type is provided, it is returned. Next, if the bottom navigation bar theme provides a type, it is used. Finally, the default behavior will be BottomNavigationBarType.fixed for 3 or fewer items, and BottomNavigationBarType.shifting is used for 4+ items.
Implementation
final BottomNavigationBarType? bottomNavigationBarType;