- 12 Feb, 2016 6 commits
-
-
Hixie authored
Move StepTween to tween.dart. Move _buildIndicator() methods to be next to the build() methods they're used from, so that reading the code is easier. Fix typos, add some comments, style nits.
-
Adam Barth authored
We expose `imageCache`, which is an ImageCache, but previously the class was private which means there was no documentation for the methods on that object. Fixes #1750
-
Ian Hickson authored
-
Adam Barth authored
This patch tightens up the imports in this file and hides some more of the implementation details by making RepeatingCurveTween and StepTween private. Also, removed a CurvedAnimation with a linear curve. That's not needed because the animation controller itself is an Animation<double>.
-
Josh Estelle authored
This animation expands/collapses an arc that's 3/4ths of a circle. The next iteration begins where the previous appeared to finish. This happens while the whole thing rotates, such that the starting point of each expansion moves in a star-wise pattern around the circle. See: https://www.google.com/design/spec/components/progress-activity.html (note: the video here demonstrating this animation is actually slightly incorrect... we'll hopefully update it soon)
-
Hixie authored
...even after winning the arena.
-
- 11 Feb, 2016 5 commits
-
-
Ian Hickson authored
-
Hixie authored
This lets it cooperate with other gestures like tap. The way I implemented this was to refactor the entire Draggable gesture logic to use a new kind of gesture detector called MultiDragGestureRecognizer. It works a bit like MultiTapGestureRecognizer but for drags. Also some tweaks to the velocity estimator.
-
Jason Simmons authored
(see https://github.com/flutter/flutter/issues/1586)
-
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.
-
Adam Barth authored
This patch fixes a couple minor bugs and cleans up MixedViewport a bit.
-
- 10 Feb, 2016 7 commits
-
-
Adam Barth authored
We need to subtract the padding instead of adding it.
-
Hixie authored
The asserting will continue until morale improves! * Convert all assert(*.isNormalized) checks to use the new debugAssertIsNormalized technology. * Convert CustomMultiChildLayout to use the new RenderingError technology to greatly improve the detail in errors you get when writing CustomMultiChildLayout delegates. * Add BoxConstraints.copyWith(). * Indent the descendants in the rendering exception data dump so that when you have multiple children it's clearer what's going on.
-
Adam Barth authored
Fixes #1730
-
Hixie authored
Negative constraints never make sense, so catch those too. Make RenderObject.layout's isNormalized assert use the newer more fancy debug version of isNormalized.
-
Adam Barth authored
-
Adam Barth authored
-
Hixie authored
Factor out the HitTestBehavior logic so that RenderMetaData can use it. Use that in DragTarget.
-
- 09 Feb, 2016 11 commits
-
-
Adam Barth authored
This patch teaches block how to anchor its scrolling to the end rather than the start. Fixes #136
-
Hixie authored
-
Devon Carew authored
-
Hans Muller authored
-
Adam Barth authored
These classes now share more code and have feature parity.
-
Hans Muller authored
-
Hixie authored
The "leaf merge" feature was getting confused when we reset the SemanticsNode. We now separately track whether the node itself is marked as being merged vs whether we inherited that state, and we don't reset the inherited state until you're reattached or reserialised. In the latter case, we do a "just in time" clearing of the flag just like we previously did a "just in time" setting of the flag, except now the flag we're setting or clearing is the inherited flag not the actual flag.
-
Adam Barth authored
-
Adam Barth authored
Fixes #1695
-
Hixie authored
-
Adam Barth authored
There aren't any clients anymore. Fixes #1684
-
- 08 Feb, 2016 1 commit
-
-
Adam Barth authored
Now that the engine lets us take the view host handle, we can actually access the view host from Dart.
-
- 06 Feb, 2016 4 commits
-
-
Adam Barth authored
Fixes #1607
-
Adam Barth authored
There are no clients anymore. We added it for the Drawer a while ago, which is a use case that's now better covered by AnimatedModalBarrier, complete with semantics.
-
Adam Barth authored
This patch includes documentation for transitions.dart and for scrollable.dart.
-
Adam Barth authored
The virtual viewport machinery now handles all of these use cases. Previous clients of ScrollableWidgetList can use ScrollableLazyList instead.
-
- 05 Feb, 2016 5 commits
-
-
Hixie authored
* Use actual exceptions rather than assertions containing code containing strings when trying to give messages to authors. * Introduce RenderingError which is an AssertionError that takes a string argument, to support the above. * Provide a BoxDimensions.hasBoundedWidth/hasBoundedHeight API. * Document BoxDimensions.isNormalized. * Provide more useful information when we assert isNormalized and find that it is false. * When finding the size is infinite, crawl the tree to figure out which render box is likely responsible for the infinite constraints. * Provide more information when size doesn't match the constraints. * Provide more information when intrinsic dimension methods violate the constraints. * Only spam a huge amount of information for the first exception from the rendering library. I've noticed a lot of people looking at the last exception printed rather than the first and that's very misleading -- after the rendering library hits an exception, all bets are off regarding what'll happen in the future. All kinds of asserts might fire. * Improve docs around the debug methods and flags for the above. * Make Block default to have no children. Previously, giving no children crashed with a confusing message about a null deref in an assert.
-
Adam Barth authored
Making progress documenting the widget library.
-
Hans Muller authored
-
Adam Barth authored
-
Adam Barth authored
After the refactoring of the animation library, we were missing some dartdoc.
-
- 04 Feb, 2016 1 commit
-
-
Devon Carew authored
-