• Michael Beckler's avatar
    BottomNavigationBar: bug fix for dealing with animations with shifting tabs (#22264) · 9abce96e
    Michael Beckler authored
    Should fix #22226.
    
    Code introduced in #20890 caused a regression that broke color flooding animations in a BottomNavigationBar that has BottomNavigationBarType.shifting.
    
    The original issue (#19653) dealt with background color changes not occurring until another tab was selected. The result is that the background color instantly changes whenever the state changes and when the widget changes, instead of allowing a new widget to animate the background color change.
    9abce96e
bottom_navigation_demo.dart 6.43 KB