- 11 Oct, 2018 1 commit
-
-
Alexandre Ardhuin authored
* prefer_void_to_null in flutter_test * fix CI
-
- 08 Oct, 2018 1 commit
-
-
Ian Hickson authored
* Refactor AnimatedSwitcher This is mostly just a little bit of cleanup with hopefully no semantic changes, done to teach me how the code works so that I could fix a bug. * Add debugging information to AnimatedSwitcher * Fix AnimatedSwitcher to handle the case of back-to-back changes Previously, if a child was replaced the very next frame after it was added, we'd get confused because we tried to reverse the controller, which causes us to remove the child from the going-away list, before we had added the child to the list in the first place. The fix is just to move the reverse to after the add.
-
- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 02 Aug, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 27 Jul, 2018 1 commit
-
-
Todd Volkert authored
It was causing problems rolling Flutter into Fuchsia
-
- 23 Jul, 2018 1 commit
-
-
Alexandre Ardhuin authored
* re-enable lint unnecessary_const * remove trailling whitespaces * remove unnecessary const (after merge)
-
- 16 Jul, 2018 2 commits
-
-
Ian Hickson authored
This reverts commit cc1cf13e.
-
Alexandre Ardhuin authored
-
- 20 Jun, 2018 1 commit
-
-
Ian Hickson authored
The new matcher package deprecates isInstanceOf which seems eggregious.
-
- 19 Jun, 2018 1 commit
-
-
Greg Spencer authored
-
- 18 May, 2018 1 commit
-
-
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).
-
- 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.
-