- 27 Feb, 2016 3 commits
-
-
Hans Muller authored
-
Adam Barth authored
This concept is now private to AnimationController. All the clients actually want the AnimationStatus.
-
Hans Muller authored
-
- 26 Feb, 2016 4 commits
-
-
Adam Barth authored
We don't need these keys. Also, improve style in several places. Fixes #2225
-
Hans Muller authored
-
Hans Muller authored
-
Hans Muller authored
-
- 25 Feb, 2016 2 commits
-
-
Hixie authored
Also: - add operator==/hashCode/toString to ViewportDimensions - add toString to BindingBase - add toString and debugFillDescription to ScrollBehavior - fix a bug in the RawGestureDetectorState's replaceGestureRecognizers - rename MixedViewport's onExtentsUpdate to onExtentChanged - replace ExtentsUpdateCallback with ValueChanged<double> - remove a microtask for dispatching scroll start, since it did not appear to have any purpose - added dartdocs to Instrumentation until I understood it - made all event dispatch in Instrumentation drain microtasks
-
Adam Barth authored
There's no reason to make clients supply a PointerRounter and a GestureArena when constructing gesture recognizers. These objects are statics and the gesture recognizers can just grab them directly. Also, remove the callback constructor arguments. Almost no code used them. Instead, people seem to prefer using the `..` operator to set callbacks on the recognizers. Removing the arguments removes a bunch of boilerplate.
-
- 24 Feb, 2016 1 commit
-
-
Adam Barth authored
Now we just have one TextSpan class that handles both simple strings, trees of children, and styling both. This approach simplifies the interface for most clients. This patch also removes StyledText, which was weakly typed and tricky to use correctly. The replacement is RichText, which is strongly typed and uses TextSpan.
-
- 23 Feb, 2016 1 commit
-
-
Hans Muller authored
-
- 22 Feb, 2016 1 commit
-
-
Adam Barth authored
In the dark theme, there isn't really a primary swatch, so this API was a sandtrap. Instead, be explicit about the colors we need for various widgets in the theme. Fixes #1277
-
- 21 Feb, 2016 2 commits
-
-
Adam Barth authored
These files are already in the "material" folder. They don't need to be prefixed with material again. Fixes #702
-
Adam Barth authored
The example in the spec with multiple actions is an anti-example. Fixes #1876
-
- 19 Feb, 2016 2 commits
-
-
Hans Muller authored
-
Hans Muller authored
-
- 18 Feb, 2016 1 commit
-
-
Hans Muller authored
-
- 15 Feb, 2016 1 commit
-
-
Adam Barth authored
This patch improves the checkbox animation as suggested by the design team. The color transition now occurs earlier in the animation and there are fewer components to the animation. Fixes #1614
-
- 14 Feb, 2016 3 commits
-
-
Ian Hickson authored
Fixes https://github.com/flutter/flutter/issues/1331 Hopefully this will be enough to start with. If this continues to be a point of confusion we can see about adding more documentation or changing the API somehow.
-
Adam Barth authored
We were using an Offset, which represented pixels/second, but it wasn't clear to clients whether that was pixels/ms. Now we use a Velocity class that is explict about the units. Fixes #1510 Fixes #785
-
Ian Hickson authored
This makes it match the material spec more. https://www.google.com/design/spec/style/icons.html Fixes https://github.com/flutter/flutter/issues/1357
-
- 13 Feb, 2016 2 commits
-
-
Hixie authored
Drawer doesn't need a SizeObserver, since it only looks at the size in event handlers. It can just go and probe the tree to read the size. Also, change from using _kEdgeDragWidth to using _kWidth when figuring out how much of the drawer to show when dragging it from the edge, since that is more likely to match the drawer's width.
-
Collin Jackson authored
-
- 12 Feb, 2016 6 commits
-
-
Hixie authored
-
Hans Muller authored
-
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.
-
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)
-
- 11 Feb, 2016 2 commits
-
-
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.
-
- 09 Feb, 2016 5 commits
-
-
Hans Muller authored
-
Adam Barth authored
These classes now share more code and have feature parity.
-
Hans Muller authored
-
Adam Barth authored
-
Hixie authored
-
- 06 Feb, 2016 1 commit
-
-
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 1 commit
-
-
Hans Muller authored
-
- 03 Feb, 2016 1 commit
-
-
Hans Muller authored
Add support for the appbar behavior described in the "Flexible space with image" section of https://www.google.com/design/spec/patterns/scrolling-techniques.html#scrolling-techniques-scrolling.
-
- 02 Feb, 2016 1 commit
-
-
Adam Barth authored
Now the keyboard is responsible for maintaining the state of the text field.
-