-
Greg Spencer authored
This optimizes the AnimatedSwitcher so that it tags the right widget with its keyed subtree, and avoids rebuilding the transition unnecessarily. This significantly improves the performance of Chips (which uses AnimatedSwitcher to swap out it's avatar and delete icon children).