• Greg Spencer's avatar
    Fix a bug in the AnimatedChildSwitcher, add builders. (#16250) · c73b8a7c
    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
    c73b8a7c
stack_test.dart 2.85 KB