- 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.
-
- 09 Feb, 2016 3 commits
-
-
Adam Barth authored
These classes now share more code and have feature parity.
-
Hans Muller authored
-
Adam Barth authored
-
- 05 Feb, 2016 1 commit
-
-
Hans Muller authored
-
- 27 Jan, 2016 1 commit
-
-
Hixie authored
-
- 22 Jan, 2016 1 commit
-
-
Adam Barth authored
Now you can colorize an Icon simply by proving a Color for the Icon.
-
- 21 Jan, 2016 1 commit
-
-
Adam Barth authored
These should be the last references to the old "performance" name.
-
- 20 Jan, 2016 4 commits
-
-
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.
-
Adam Barth authored
After this patch, there aren't any direct uses of Performance in material.dart.
-
Adam Barth authored
Also, clean up the class hierarchy for AnimationController now that we've renamed progress to value. That means everything in the hierarchy now has a value, include Watchable. This patch renames Watchable to Animated<T>, which lets us use that type almost everywhere. I've added some ducktape to modal bottom sheets to avoid having to refactor all of Navigator to use AnimationController. I'll remove the ducktape in the next patch.
-
Adam Barth authored
These now use Animation and AnimationController instead of PerformanceView and Performance.
-
- 18 Jan, 2016 1 commit
-
-
Ian Hickson authored
As part of this: - A lot of classes got new lerp functions, including e.g. TextStyle. - Theme's constructor story got overhauled. You can now configure everything if you really want to, and we're better about defaults. - Material no longer automatically animates its background color. (It still does for its shadow.) - Tabs try to get the indicator color from the theme. - The fields in ThemeData got reordered for sanity. - Theme.== and Theme.hashCode got fixed. - Typography got a bit of a spring cleaning. Fixes #613.
-
- 11 Jan, 2016 4 commits
-
-
Adam Barth authored
Previously we used a positional argument for widgets that had multiple children. Now we use a named argument that defaults to an empty list. Fixes #241
-
Adam Barth authored
We use the ScrollDirection for more than just scrolling. Fixes #151
-
Adam Barth authored
When the TabView widget's children change, we don't change the children we give to the PageViewport because we fail to update _items. This patch watches didChangeConfig and updates _items appropriately. Fixes #1134 Fixes #1168
-
Adam Barth authored
Instead of taking a builder and a generic type, we can just take a List<Widget>.
-
- 08 Jan, 2016 3 commits
-
-
Hans Muller authored
-
Ian Hickson authored
-
Hans Muller authored
-
- 07 Jan, 2016 1 commit
-
-
Adam Barth authored
The TabBarView wants to remap page indices during tab transitions, which I broke when I refactored TabBarView. Fixes #1119
-
- 06 Jan, 2016 2 commits
-
-
Adam Barth authored
This patch moves PageableList off HomogeneousViewport and onto RenderList and friends, making it match the new ScrollableList.
-
Hans Muller authored
-
- 02 Jan, 2016 1 commit
-
-
Adam Barth authored
Previously we used Position, which makes it harder to accumulate offsets when walking the render tree.
-
- 22 Dec, 2015 2 commits
-
-
Hans Muller authored
-
Hans Muller authored
-
- 16 Dec, 2015 1 commit
-
-
Hans Muller authored
The TabBarSelection change animation needs to start where the fling's drag gesture ended rather than from zero. The intial vlaue of progress for the TabBarSelection's performance is now converted from the range used during an interactive drag, to the range used when animating from the previously selected tab to the new one. TabBarSelection now requires a maxIndex parameter.
-
- 15 Dec, 2015 1 commit
-
-
Hans Muller authored
-
- 14 Dec, 2015 1 commit
-
-
Hans Muller authored
Swiping left or right in a TabBarView now changes the selected tab in the way it's supposed to. Currently swipe gestures that start while the selection change is underway are ignored. Will fix that in a separate change.
-
- 10 Dec, 2015 2 commits
-
-
Hans Muller authored
-
Hans Muller authored
-
- 05 Dec, 2015 1 commit
-
-
Adam Barth authored
We can just use Canvas now. The two are the same thing.
-
- 01 Dec, 2015 1 commit
-
-
Ian Hickson authored
-
- 30 Nov, 2015 1 commit
-
-
Hans Muller authored
The TabBar's selection is now represented by a TabBarSelection object which encapsulates both the previous and currently selected indices and the Performance used to animate the selection indicator. Added a TabBarView class which displays a tab's contents. It uses a shared TabBarSelection to stay in sync with a TabBar. The TabBarView scrolls in sync with the TabBar when the selection changes. Eventually it will allow one to fling the selection forward or backwards. Added a tabBar property to ToolBar. Typically the corresponding TabBarView will be the body of the toolbar's Scaffold. Removed TabNavigatorView and TabNavigator. Added a widget gallery tabs demo page. Removed the old tabs demo.
-
- 19 Nov, 2015 1 commit
-
-
Adam Barth authored
This patch simplifies PaintingContext with several goals: 1) We now call a callback instead of assuming the caller has a single child to paint. This change will let us handle render objects that wish to paint more than one child. 2) We now avoid creating lots of empty picture layers because we don't eagerly start recording pictures. Instead, we wait for the first caller to touch the canvas before creating the picture recorder. 3) We now are more consistent about which values have incorporated the painting offset.
-
- 06 Nov, 2015 1 commit
-
-
Hans Muller authored
-
- 05 Nov, 2015 1 commit
-
-
Adam Barth authored
Now a RenderBox is considered hit if one of its children are hit or it itself decides that it's hit. In particular, empty space inside a flex won't be hit because none of the children are located there and a RenderFlex doesn't consider itself hittable. Fixes #53 Fixes #1221
-
- 01 Nov, 2015 1 commit
-
-
Adam Barth authored
The name of the parameter wasn't consistent with IconButton or DrawerItem, etc. Fixes #1871
-
- 28 Oct, 2015 2 commits
-
-
Hans Muller authored
-
Adam Barth authored
Material design icons are defined to work at specific sizes: 18, 24, 36, 48. The current API doesn't reflect that and just takes a size int. If an invalid size is chosen an error is printed to the console and no icon shows up. Fixes #1816
-