• Ian Hickson's avatar
    Reset _simulation at the end of a fling (#3435) · 112f2cc3
    Ian Hickson authored
    Also a bit of code cleanup.
    
    The key part of this patch is the addition in `_endScroll` to reset
    `_simulation`. It seems like this was the one place where it's possible
    for us to end the animation but not reset our state. Since we assert
    that are state is coherent, we were hitting asserts when a fling
    finished and then you interacted with the widget again.
    112f2cc3
Name
Last commit
Last update
..
cassowary Loading commit data...
flutter Loading commit data...
flutter_driver Loading commit data...
flutter_markdown Loading commit data...
flutter_sprites Loading commit data...
flutter_test Loading commit data...
flutter_tools Loading commit data...
flx Loading commit data...
newton Loading commit data...
playfair Loading commit data...
.gitignore Loading commit data...