- 24 Dec, 2015 1 commit
-
-
Ian Hickson authored
- Add RenderFractionalTranslation, a render box that does a translation based on a FractionalOffset. - Make FractionalOffset more like Offset - dx/dy instead of x/y - add /, ~/, % - add .zero - Add alongOffset and alongSize to FractionalOffset so that you can easily apply FractionalOffset to Offsets and Sizes. (Better name suggestions welcome.) - Add transformHitTests boolean to RenderTransform (also on RenderFractionalTranslation), and to classes based on it. - Remove the fade from Dismissable. We can add it back using the builder-with-child pattern like Draggable if we need it. See #1003 for tha feature request. - Rename a bunch of variables in dismissable.dart. - Change the test for dismissable to not handle leftwards dismisses one pixel different from rightwards dismisses, and cleaned up the resulting effect on the test (mostly making sure we had the right number of pumps, with comments explaining what each one was). Fixes #174.
-
- 18 Dec, 2015 1 commit
-
-
Kris Giesing authored
-
- 07 Dec, 2015 1 commit
-
-
Hixie authored
-
- 04 Dec, 2015 1 commit
-
-
Hixie authored
Sometimes you want to just make a transition driven straight from the performance's progress, rather than with an explicit variable.
-
- 03 Dec, 2015 1 commit
-
-
Hixie authored
For those times when you want to do something as you move away from a route into the next one, as well as when you move into it from the previous one.
-
- 06 Nov, 2015 1 commit
-
-
Hans Muller authored
-
- 21 Oct, 2015 1 commit
-
-
Hixie authored
A transition that rotates its contents.
-
- 18 Oct, 2015 1 commit
-
-
Hixie authored
Add a AnimatedRelativeRectValue class for animating RelativeRects. Add a PositionedTransition class for animating Positioned using AnimatedRelativeRectValues. Add a test for PositionedTransition. Fix a math bug a RelativeRect found by the test. Fix a logic bug in the two ParentDataWidget classes found by the test. Specifically, they were marking the child dirty, rather than the parent. The parentData is for the parent's layout, not the child's, so they have to mark the parent dirty. (I didn't hoist this up to the superclass because ParentData could be used for painting, hit testing, accessibility, or any number of other things, and I didn't want to bake in the assumption that it needed markNeedsLayout.)
-
- 16 Oct, 2015 1 commit
-
-
Adam Barth authored
The goal is to follow the guidelines in https://github.com/flutter/engine/blob/master/sky/specs/style-guide.md#packages Fixes #1638
-
- 10 Oct, 2015 1 commit
-
-
Adam Barth authored
-
- 09 Oct, 2015 1 commit
-
-
Adam Barth authored
These are now part of material.dart.
-
- 06 Oct, 2015 1 commit
-
-
Adam Barth authored
In the vast majority of cases, folks should be interacting with the Widget rather than its State. Fixes #267
-
- 05 Oct, 2015 1 commit
-
-
Adam Barth authored
Fixes #1170
-
- 01 Oct, 2015 2 commits
-
-
Adam Barth authored
* Moves from vector_math to vector_math_64 * Adds support for Float64List in Dart bindings
-
Adam Barth authored
-
- 20 Sep, 2015 1 commit
-
-
Adam Barth authored
We were just missing a few type casts in tests to make the analyzer happy.
-
- 18 Sep, 2015 1 commit
-
-
Hixie authored
This fixes #1103.
-
- 14 Sep, 2015 1 commit
-
-
Hixie authored
- Add documentation for AnimationTiming. - typo: defaules -> defaults. - added type information to isWatching() signature. - made Widget.toStringName() include more useful information. - cleaned up StatefulComponent._sync(): more specific signature, change redundant if to else, remove redundant cast. - change order of TransitionBase arguments for consistency. - prevent TransitionBase from affecting the performance in its constructor when it didn't create it (but see #1103). - remove TODO() from @mpcomplete... no, there is not currently a better way to inherit a constructor, unfortunately.
-
- 08 Sep, 2015 1 commit
-
-
Adam Barth authored
Move the animation libraries into src/animation and change importers to use package:sky/animation.dart. Also, move scheduler.dart into the animation library so that the animation library can be self-contained.
-
- 03 Sep, 2015 1 commit
-
-
Adam Barth authored
-
- 02 Sep, 2015 1 commit
-
-
Adam Barth authored
Code outside of package:sky should import this code using package:sky/rendering.dart package:sky/widgets.dart Moving this code into the "src" directory is a convention that signifies that and it cleans up the generated dartdoc because the libraries in the src directory aren't included in the generated documentation. Instead, the classes are documented in the widgets.dart and rendering.dart libraries.
-
- 28 Aug, 2015 1 commit
-
-
Hixie authored
Stop exporting framework.dart from basic.dart, since we now have widgets.dart exporting all of framework.dart.
-
- 22 Aug, 2015 1 commit
-
-
Adam Barth authored
-
- 21 Aug, 2015 1 commit
-
-
Collin Jackson authored
-
- 11 Aug, 2015 1 commit
-
-
Matt Perry authored
This introduces the concept of an Anchor, which you can use to link transitions together. I've used this in the Fitness and Stocks apps to link the FAB and SnackBar to animate together by sharing the SlideTransition. I also fixed the Scaffold hit testing code to apply sub-widget transforms, so it works with Transformed nodes.
-
- 06 Aug, 2015 1 commit
-
-
Matt Perry authored
Also add intervals and curves to AnimationPerformance, which affect all variables used by the performance.
-
- 04 Aug, 2015 1 commit
-
-
Matt Perry authored
This ensures we don't run into discontinuities when reversing an animation halfway through. I refactored AnimationValue to have knowledge of the reverse curves and intervals.
-
- 03 Aug, 2015 2 commits
-
-
Matt Perry authored
* Intentions => Behaviors * SlideIn => SlideTransition * FadeIn => FadeTransition * removed unused AnimatedContainer intentions
-
Matt Perry authored
Simplifies the code a bit.
-
- 02 Aug, 2015 1 commit
-
-
Adam Barth authored
-
- 31 Jul, 2015 1 commit
-
-
Matt Perry authored
Use those in SnackBar, Drawer, navigator instead of AnimatedContainer's intentions.
-