- 25 Aug, 2015 7 commits
-
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
- 24 Aug, 2015 5 commits
-
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
Adam Barth authored
We now have Mimic tracking Mimicable through tree structure changes and while moving around the screen. Fixes #751 and #756
-
Hans Muller authored
Adds itemsWrap:bool (default false) to ScrollableList and PageableList. If itemsWrap is true then scrolling past the last item wraps around to the first. Similarly, scrolling before the first item wraps around to the last. Added abstract ExtentScrollBehavior of ScrollBehavior. Renamed fields called contentsExtents to contentExtent, containerExtents to containerExtent, contentSize to contentExtent, etc. BoundedBehavior is now a subclass of ExtentScrollBehavior. Added UnboundedBehavior subclass of ExtentScrollBehvaior; contentExtent and maxScrollOffset are double.INFINITY, minScrollExtent is double.NEGATIVE_INFINITY.
-
- 22 Aug, 2015 4 commits
-
-
Adam Barth authored
Mostly formating and removing arguments with default values.
-
Adam Barth authored
-
Adam Barth authored
These widgets were designed in CSS where you need to specify a layout model for your children. This patch updates them to the modern style of just taking a unique child. Fixes #755
-
Adam Barth authored
-
- 21 Aug, 2015 4 commits
-
-
Adam Barth authored
Block -> BlockBody ScrollableBlock -> Block FixedHeightScrollable -> ScrollableWidgetList VariableHeightScrollable -> ScrollableMixedWidgetList BlockViewport -> MixedViewport
-
Adam Barth authored
Fixes #743
-
Collin Jackson authored
-
Adam Barth authored
We now support uniform borders on circular box decorations. Fixes #741
-
- 20 Aug, 2015 6 commits
-
-
Collin Jackson authored
-
Adam Barth authored
When laying out positioned children inside a stack, we should give them unbounded constraints because if they draw outside of the stack, we'll just clip them.
-
Collin Jackson authored
-
Collin Jackson authored
-
Adam Barth authored
For great constness. Fixes #693
-
Hans Muller authored
Changed the pageable_list.dart example: tapping on the toolbar changes the scroll direction. This exposed some problems: - Scrollable.syncFields() didn't update scrollDirection - Viewport updated its RenderObject fields in the wrong order - FixedHeightScrollable scrollDirection changes didn't update the scrollBehavior There may be similar problems with VariableHeightList and ScrollableViewport. I will fix those in a separate CL.
-
- 19 Aug, 2015 7 commits
-
-
Collin Jackson authored
-
Hans Muller authored
-
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.
-
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.
-
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
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.
-
- 18 Aug, 2015 7 commits
-
-
Collin Jackson authored
-
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
-
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
-