- 23 Sep, 2018 1 commit
-
-
Ian Hickson authored
-
- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 07 Sep, 2018 1 commit
-
-
Jonah Williams authored
-
- 29 Aug, 2018 1 commit
-
-
- 23 Aug, 2018 1 commit
-
-
Jonah Williams authored
-
- 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
-
- 05 Jun, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 12 Mar, 2018 1 commit
-
-
Jason Simmons authored
-
- 02 Feb, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 09 Jan, 2018 1 commit
-
-
Ian Hickson authored
-
- 22 Nov, 2017 1 commit
-
-
Kyle Bradshaw authored
* AnimationController reset() method Just a simple convenience method to fix #13039 * Added `reset()` test * More test expectations Per feedback. * Removed test print * Improved documentation of reset() * Add controller.reverse to test
-
- 17 Nov, 2017 1 commit
-
-
Greg Spencer authored
I got tired of drive-by spelling fixes, so I figured I'd just take care of them all at once. This only corrects errors in the dartdocs, not regular comments, and I skipped any sample code in the dartdocs. It doesn't touch any identifiers in the dartdocs either. No code changes, just comments.
-
- 21 Sep, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 23 Aug, 2017 1 commit
-
-
Brenton Simpson authored
`stiffness` is the name of a spring's `k` input on [iOS](https://developer.apple.com/documentation/quartzcore/caspringanimation), [Android](https://developer.android.com/topic/libraries/support-library/preview/spring-animation.html), and the [Web](https://github.com/skevy/wobble/blob/bbc0f831e234f2d24fb905f2ec278c134d69ed68/src/index.js#L11-L22). To ensure the API is familiar to and easily understood by developers coming from other platforms, Flutter should follow this convention as well. This is a minimally-breaking change. Across [all of GitHub](https://github.com/search?l=Dart&q=springConstant&type=Code&utf8=%E2%9C%93), there are only 2 uses of the `springConstant` API (in Mondrian). Those can be easily changed to use this name. Closes #11684
-
- 18 Aug, 2017 1 commit
-
-
Jacob Richman authored
when describing non-nullable method arguments.
-
- 04 Aug, 2017 3 commits
-
-
Michael Goderbauer authored
* Adding tests for animationStatus * remove comments * animateTo is allways forward * clearify docs * review comments
-
Michael Goderbauer authored
-
Michael Goderbauer authored
* Do not schedule animation if already at the target value * Partially fixes https://github.com/flutter/flutter/issues/11495. * Also includes a fix for Cupertino button to always run the tap animation even if the finger is immediately lifted from the screen (uncovered by a test failure). * refactorings * more tests * test clearifications * remove Listener * fix lints * fix async issue
-
- 12 Jun, 2017 1 commit
-
-
Ian Hickson authored
-
- 05 Jun, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 05 May, 2017 1 commit
-
-
Ian Hickson authored
-
- 03 May, 2017 1 commit
-
-
Ian Hickson authored
-
- 15 Apr, 2017 1 commit
-
-
Ian Hickson authored
With this patch, you can do: ```dart Future<Null> foo() async { try { await controller.forward().orCancel; await controller.reverse().orCancel; await controller.forward().orCancel; } on TickerCanceled { // did not complete } } ``` ...in a State's async method, and so long as you dispose of the controller properly in your dispose, you'll have a nice way of doing animations in sequence without leaking the controller. try/finally works as well, if you need to allocate resources and discard them when canceled. Simultaneously, you can do: ```dart Future<Null> foo() async { await controller.forward().orCancel; await controller.reverse().orCancel; await controller.forward().orCancel; } ``` ...and have the same effect, where the method will just silently hang (and get GC'ed) if the widget is disposed, without leaking anything, if you don't need to catch the controller being killed. And all this, without spurious errors for uncaught exceptions on controllers.
-
- 16 Mar, 2017 1 commit
-
-
Hans Muller authored
-
- 04 Mar, 2017 1 commit
-
-
Chris Bracken authored
Covers lib/ in package:flutter.
-
- 18 Feb, 2017 1 commit
-
-
Adam Barth authored
-
- 19 Jan, 2017 2 commits
-
-
Adam Barth authored
Previously the navigator wouldn't always call Route.dispose when it was removed from the tree. After this patch, the navigator remembers popped routes so that it can call dispose on them when it is removed from the tree. Also, improve some error messages around calling dispose() more than once on routes and AnimationControllers. Fixes #7457
-
Adam Barth authored
The only client of this machinery was AnimationController.fling, but it's easier for that function to just create the simulation it needs directly. Fixes #7216
-
- 19 Nov, 2016 1 commit
-
-
Ian Hickson authored
-
- 17 Nov, 2016 1 commit
-
-
Ian Hickson authored
(and minor doc changes) This will in the future allow Scrollable to not track the Simulation itself.
-
- 28 Sep, 2016 1 commit
-
-
Ian Hickson authored
* globalToLocal was just broken when there was a rotation and a translation at the same time. This fixes that and adds a test. * update graphic used by spinning_mixed since the old one went 404. * simplify some of the code in the demo. * fix MatrixUtils.transformPoint to be consistent with how we transform points elsewhere. * stop transforming points elsewhere, just use MatrixUtils.transformPoint. * make the Widget binding handle not having a root element. * make the spinning_mixed demo update its widget tree.
-
- 26 Sep, 2016 2 commits
-
-
Ian Hickson authored
-
Ian Hickson authored
This requires all AnimationController objects to be given a TickerProvider, a class that can create the Ticker. It also provides some nice mixins for people who want to have their State provide a TickerProvider. And a schedulerTickerProvider for those cases where you just want to see your battery burn. Also, we now enforce destruction order for elements.
-
- 22 Sep, 2016 1 commit
-
-
Dan Rubel authored
-
- 04 Aug, 2016 1 commit
-
-
Jason Simmons authored
This also required changing the AnimationController state transition logic to signal completion of the animation during the tick that finishes the simulation. Fixes https://github.com/flutter/flutter/issues/3675
-
- 13 Jun, 2016 1 commit
-
-
Adam Barth authored
Instead of flinging to between 0.0 and 1.0, we should adapt the default spring to the controller's upper and lower bounds. Fixes #3545
-