- 19 Aug, 2015 14 commits
-
-
Hans Muller authored
- PageableList extends ScrollableList One fixed width or height item is visible and centered at a time. Fling and drag gestures scroll to the next/previous item. - Scrollable.scrollTo(), Scrollable.scrollBy(), ensureWidgetIsVisible() API changed The named animation parameter for these methods was replaced by duration and curve. All of the methods now return a Future. The Future completes when the scroll does. This change eliminates the need for Scrollable to temporarily take ownership of a ValueAnimation object (see #645). - Using Future.then() instead of an AnimationPerformance status listener In ensure_visible.dart _handleTap() uses ensureWidgetIsVisible() to center the card roughly as before and then. When the implicit scroll animation is complete, it changes the centered card's label font. The change is made when the Future returned by ensureWidgetIsVisible() completes. - FixedHeightScrollable's itemHeight parameter is now itemExtent If scrollDirection is ScrollDirection.vertical (the default) then itemExtent should be the height of each item; otherwise it should be the width of each item. Replaced _velocityForFlingGesture() in scrollable.dart with Scrollable._eventVelocity() The original version clamped pixels/ms against pixels/sec constants. The new version also deals with scrollDirection. - Plumbed scrollDirection though FixedHeightScrollable and ScrollableList Both classes should now support horizontal scrolling.
-
Ian Hickson authored
Pick a default theme brightness
-
Adam Barth authored
... and reattach fitness to the build. We detached fitness from the build because it was seeing an old version of playfair that didn't work with the most recent version of the Sky package.
-
Ian Hickson authored
-
Ian Hickson authored
-
Ian Hickson authored
There doesn't seem to be any particular reason for us to not default the brightness to _something_.
-
Ian Hickson authored
-
Adam Barth authored
Unhook fitness from the build to work around build break in playfair. We updated the Sky package in an incompatible way, which means we need to roll in a new playfair package to build fitness.
-
Adam Barth authored
Similar to widgets.dart, rendering.dart exports the entire rendering layer. Also, update the examples to use rendering.dart and widgets.dart. Also clean up some exports so that the examples have more sensible imports.
-
Adam Barth authored
Split box.dart into many files
-
Adam Barth authored
Sadly, box.dart has grown much longer than 1000 lines. This patch splits it up into several files based on the class hierarchy. Fortunately, many of these classes are loosely coupled to each other.
-
Ian Hickson authored
-
Ian Hickson authored
-
Adam Barth authored
When given a null image, RenderImage should be as small as possible (isntead of being NaNxNaN). Also, plumb ImageFit and ImageRepeat through the various image widgets.
-
- 18 Aug, 2015 17 commits
-
-
Adam Barth authored
This CL inflates the padding of Container to account for the borders so that the borders are allocated space in the layout and don't draw behind the Container's child.
-
Collin Jackson authored
Request gridlines for fitness chart
-
Adam Barth authored
We now fold the width and height properties into the constraints and try to find a size for the image that perserves the image's intrinsict aspect ratio while fitting within the given constraints.
-
Collin Jackson authored
-
Adam Barth authored
Apply ImageFit and ImageRepeat to RenderImage
-
Adam Barth authored
These properties should apply to foreground images as well as background images. Also, rename these types from BackgroundFit and BackgroundRepeat because they apply to things other than backgrounds.
-
Viktor Lidholt authored
-
Adam Barth authored
Container should expand in dimensions without constraints
-
Adam Barth authored
... as long as it doesn't have a child. If it has a child, it should size according to that child. Essentially, if Container doesn't have a child, it pretends like it has a child that expands to fill its constraints.
-
Viktor Lidholt authored
Adds bounce and elastic easing to animation curves
-
Viktor Lidholt authored
-
Hixie authored
- Add Canvas.getSaveCount() - Make RenderClipRect call context.paintChildWithClip instead of doing the clipping itself - Make ClipLayer take a Rect instead of a Size - Make PaintingContext.canvas read-only - Add PaintingContext.paintChildWithClip() - Minor rearrangings of code and style tweaks
-
Eric Seidel authored
-
Eric Seidel authored
@collinjackson
-
Eric Seidel authored
This was the last instance of loading assets off of Github. @abarth
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
- 17 Aug, 2015 9 commits
-
-
Eric Seidel authored
Teach Asteroids Sounds how to load from AssetBundle
-
Ian Hickson authored
Trivial code changes for style and readability in animation/ directory.
-
Ian Hickson authored
Update READMEs for painting/ and animation/ to be up to date with current dependencies.
-
Ian Hickson authored
Improve style in lerp.dart and box_painter.dart
-
Eric Seidel authored
@abarth
-
Collin Jackson authored
-
Eric Seidel authored
Fix analyzer warnings
-
Eric Seidel authored
We had a remarkable number of analyzer failures. I'll fix the bots to analyze across the whole project in a follow-up patch, that should prevent this in the future. @abarth
-
Adam Barth authored
The name `root` is confusing because this value isn't the root of anything. It's just the associated `RenderObject` instance.
-