- 03 May, 2017 1 commit
-
-
Ian Hickson authored
-
- 20 Apr, 2017 1 commit
-
-
Alexandre Ardhuin authored
* comprehensive list of lints * add comments to commented out lint * fix unnecessary_this lints * exclude prefer_final_fields
-
- 19 Apr, 2017 1 commit
-
-
Adam Barth authored
Turns out we have many immutable classes. Fixes #6892
-
- 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.
-
- 31 Mar, 2017 1 commit
-
-
Alexandre Ardhuin authored
* add @required when there's an assert not null * address review comments
-
- 17 Mar, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 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
-
- 20 Jan, 2017 1 commit
-
-
Adam Barth authored
This patch aligns the iteration patterns used by animations and ChangeNotifier. They now both respect re-entrant removal of listeners and coalesce duplication registrations. (Also, ChangeNotifier notification is no longer N^2). This patch introduces ObserverList to avoid the performance regression that the previous version of this patch caused. Fixes #7533
-
- 19 Jan, 2017 4 commits
-
-
Adam Barth authored
-
Adam Barth authored
This patch aligns the iteration patterns used by animations and ChangeNotifier. They now both respect re-entrant removal of listeners and coalesce duplication registrations. (Also, ChangeNotifier notification is no longer N^2). Fixes #7533
-
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
-
- 05 Jan, 2017 3 commits
-
-
Ian Hickson authored
-
Ian Hickson authored
-
Hans Muller authored
-
- 16 Dec, 2016 1 commit
-
-
Ian Hickson authored
Port DecelerateInterpolator to Flutter. Also, hide the Curve subclasses that you can't extend and that have no statics and are generally not useful.
-
- 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 2 commits
-
-
Adam Barth authored
For consistency with Tween. Fixes #5169
-
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
-
- 16 Sep, 2016 1 commit
-
-
Ian Hickson authored
See #4434.
-
- 15 Sep, 2016 1 commit
-
-
Adam Barth authored
Having this base class lets classes like CustomPainter and DataTableSource be more agnostic as to what's generating the repaints.
-
- 07 Sep, 2016 1 commit
-
-
Dragoș Tiselice authored
In the interest of using the name in the case of Material steppers, this commit renames Step curve to Threshold.
-
- 25 Aug, 2016 1 commit
-
-
Matt Perry authored
Doesn't do any of the fancy effects. Just lets the user control the back transition by sliding from the left, like a drawer. Hero transitions are disabled during the gesture. BUG=https://github.com/flutter/flutter/issues/4817
-
- 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
-
- 26 Jul, 2016 2 commits
-
-
Adam Barth authored
This patch adapts the AppBar to feel more like iOS by centering the title. Fixes #4962
-
Adam Barth authored
We should center the title of flexible space bars on iOS. Related to #4962
-
- 30 Jun, 2016 1 commit
-
-
Hans Muller authored
-
- 23 Jun, 2016 1 commit
-
-
Adam Barth authored
-
- 14 Jun, 2016 2 commits
- 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
-
- 09 Jun, 2016 1 commit
-
-
Adam Barth authored
If you tap outside the drop down menu while its animating in, we should animate it away smoothly. Previously, we jumped to the reverseCurve, which made the menu disappear immediately. Now we hold the animations as state, which means we keep their _curveDirection property and don't switch curves unless the animation actually finishes. Also, fix a subtle bug in CurvedAnimation whereby we'd never set the _curveDirection if we didn't see a status change in the parent animation. Now we initialize _curveDirection based on the current value of the parent's status. Fixes #4379
-
- 25 May, 2016 1 commit
-
-
Adam Barth authored
For consistency. Fixes #4142
-
- 17 May, 2016 1 commit
-
-
Adam Barth authored
Everything now has dartdocs except one setter whose getter already has docs.
-