BottomNavigationBar: bug fix for dealing with animations with shifting tabs (#22264)

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.
This commit is contained in:
Michael Beckler
2018-11-07 12:20:27 -05:00
committed by Todd Volkert
parent 094f93dfcf
commit 9abce96e8e
4 changed files with 55 additions and 13 deletions

View File

@@ -1 +1 @@
dd723e291a7997ce6b551b910447b64b3fe9ba7e
8c478bbaf27447f3d612959705b305e7d1293526