- 16 Apr, 2018 1 commit
-
-
Greg Spencer authored
We don't really like the name AnimatedChildSwitcher, and we think that AnimatedSwitcher might be better (since the Child part is redundant). We also considered AnimatedChild, AnimatedTransition and AnimatedReplacement (among others). Nothing in here besides a rename.
-
- 12 Apr, 2018 1 commit
-
-
Greg Spencer authored
This fixes a rendering problem in the AnimatedChildSwitcher where it would add a new "previous" child each time it rebuilt, and if you did it fast enough, all of them would disappear from the page. It also expands the API for AnimatedChildSwitcher to allow you to specify your own transition and/or layout builder for the transition. Fixes #16226
-
- 03 Apr, 2018 1 commit
-
-
Greg Spencer authored
The AnimatedChildSwitcher widget (originally authored by Hixie), will cross-fade between a new child, and a previous child (or children, if the switch happens faster than the fade finishes). It's a good candidate for places where a widget will be added/removed from a slot, and you want a nice transition to occur.
-