moved header to the bottom of app bar(earlier it was in the title section of appbar but this section have fixed height and cut me avatar)
added config for bottom navbar with icon, color(different for each icon) and route
Problem to fix: Navigation from navbar is now broken, Flutter devs didn't add some kind of control to this widget and probably I need to handle this by myself. The bottom navbar is some part of the layout that I can share only on a few pages. I assumed earlier that I can navigate to any page by default app navigator. Tomorrow I will add custom navigation for this widget and separate it from global app navigation(I will create custom nav for this 4 widget which I wanted to use it as the layout and set widget with bottom nav as root).
ps I added factory for BottomNavigatorItem because technically it is not a widget
Problem to fix: Navigation from navbar is now broken, Flutter devs didn't add some kind of control to this widget and probably I need to handle this by myself. The bottom navbar is some part of the layout that I can share only on a few pages. I assumed earlier that I can navigate to any page by default app navigator. Tomorrow I will add custom navigation for this widget and separate it from global app navigation(I will create custom nav for this 4 widget which I wanted to use it as the layout and set widget with bottom nav as root).
ps I added factory for BottomNavigatorItem because technically it is not a widget