- 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
-
- 12 May, 2016 1 commit
-
-
pq authored
It's safe to remove the unneeded `void`s from setters since the blocking issues in the `always_declare_return_types` lint have been fixed (https://github.com/dart-lang/linter/). We can also safely flip the bit on `avoid_return_types_on_setters`.
-
- 27 Apr, 2016 1 commit
-
-
Adam Barth authored
Rather that importing `package:newton/newton.dart` you can `import package:flutter/physics.dart`. Fixes #2441
-
- 20 Apr, 2016 1 commit
-
-
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.
-
- 06 Apr, 2016 1 commit
-
-
Hans Muller authored
Overscroll indicator for MaterialList
-
- 23 Mar, 2016 1 commit
-
-
Adam Barth authored
Previously, when the content extent changed during a scroll interaction, we'd stop the current scroll interaction and reset the scroll offset. Now we try to continue the scroll interaction (e.g., drag, fling, or overscroll) even through the underlying scroll behavior has changed. For physics-based scroll interactions, we keep the current position and velocity and recompute the operative forces. For drag interactions, we keep the current position and continue to let the user drag the scroll offset. After this patch, we still disrupt non-physical scroll animations that are operating outside the new scroll bounds because it's not clear how we can sensibly modify them to work with the new scroll bounds.
-
- 21 Mar, 2016 1 commit
-
-
Ian Hickson authored
As usual, as I was doing this I ran into some stuff that seemed hard to document as-is and so I changed it. In this case, in the "http" library. The new code is more or less equivalent, I think, but the resulting documentation makes it more obvious that it's wrong...
-
- 18 Mar, 2016 1 commit
-
-
Quddus Chong authored
-
- 14 Mar, 2016 1 commit
-
-
Hixie authored
-
- 12 Mar, 2016 3 commits
-
-
Hixie authored
And fix the zillion issues that uncovered.
-
Ian Hickson authored
This reverts commit f41b3411, reversing changes made to e33d8d96. This was a bad check-in due to my mangling uploading a new version of the branch from a different machine. This reverts https://github.com/flutter/flutter/pull/2639 and will be replaced by https://github.com/flutter/flutter/pull/2640
-
Hixie authored
And fix the zillion issues that uncovered.
-
- 02 Mar, 2016 1 commit
-
-
Adam Barth authored
Fixes #2324
-
- 01 Mar, 2016 1 commit
-
-
Adam Barth authored
* Makes repeat default to the lower and upper bounds * Makes animateTo handle unbounded ranges better * Improve the name of _TweenSimulation Fixes #2096 Fixes #2090 Fixes #2091
-
- 27 Feb, 2016 2 commits
-
-
Adam Barth authored
This concept is now private to AnimationController. All the clients actually want the AnimationStatus.
-
Adam Barth authored
Previously we would elide forward and reverse callbacks that canceled each other out, which broke the expected state machine. Now we synchronously deliver status callbacks when start an animation. Fixes #1913
-
- 25 Feb, 2016 1 commit
-
-
Hixie authored
Refactor Dismissable to not need a SizeObserver and to generally tighten up the code a bit.
-
- 24 Feb, 2016 1 commit
-
-
Adam Barth authored
Rather than clamping _value on read, we now clamp the value when writing it, which simplifies reasoning about _value.
-
- 22 Feb, 2016 1 commit
-
-
Ian Hickson authored
-
- 21 Feb, 2016 1 commit
-
-
Adam Barth authored
We should mutate the status of the AnimationController before calling the status callbacks so that we're prepared to be re-entered. Fixes #1911
-
- 11 Feb, 2016 1 commit
-
-
Ian Hickson authored
Each layer is supposed to reexport the parts of the previous layer that are part of its API. - In painting.dart, export from dart:ui all the Canvas-related APIs that make sense to be used at higher levels, e.g. PaintingStyle. - Delete painting/shadows.dart. It was dead code. - In rendering/object.dart, export all of painting.dart. - In widgets/basic.dart, export all of painting.dart and animation.dart. Some classes in animation/ are renamed to make this less disruptive and confusing to the namespace. - Split out Stocks back into an import model rather than a part model, so that it's easier to manage its dependencies on a per-file basis. - Move Ticker to scheduler library. - Remove as many redundant imports as possible now. - Some minor nit picking cleanup in various files.
-
- 05 Feb, 2016 1 commit
-
-
Adam Barth authored
After the refactoring of the animation library, we were missing some dartdoc.
-
- 22 Jan, 2016 1 commit
-
-
Adam Barth authored
When opening the keyboard or focusing an input widget, we should scroll the widget into view so that the user can see what they're typing.
-
- 21 Jan, 2016 3 commits
-
-
Adam Barth authored
These should be the last references to the old "performance" name.
-
Adam Barth authored
-
Adam Barth authored
Now that we've decided that Animation<double> isn't confined to the interval 0.0 to 1.0, we can expand AnimationController to cover the use cases that used to require SimulationStepper. This patch merges SimulationStepper into AnimationController and ports the one stand-alone client of simulation stepper over to using AnimationController.
-
- 20 Jan, 2016 1 commit
-
-
Adam Barth authored
This patch removes Performance and AnimationValue now that we've ported the framework over to AnimationController and Tween. This patch also cleans up the names of the AnimationController classes now that they don't have to avoid conflicts with the old animation API. Specifically, I've made the following renames: * Animated -> Animation * Evaluatable -> Animatable * PerformanceStatus -> AnimationStatus This patch is just renames and moving code around. There aren't any changes in behavior.
-