- 16 Dec, 2015 1 commit
-
-
Ian Hickson authored
-
- 08 Dec, 2015 1 commit
-
-
Ian Hickson authored
Factor out a reusable interface called Decoration from BoxDecoration. Make all the consumers of BoxDecoration and the erstwhile BoxPainter into consumers of Decoration. Make a BoxPainter be something you get from a Decoration, rather than something to which you pass a BoxDecoration. Rename Shape to BoxShape now that it's documented specifically as applying to boxes. Move EdgeDims to its own file. Move FractionalOffset up so that it's with the other helper classes in its file rather than alone at the end. Minor change to RenderClipOval's hit testing to avoid taking an unnecessary square root. Rename BoxDecorationPosition to DecorationPosition since RenderDecoratedBox now takes any Decoration. Implement hit testing for rounded rects. Rename AnimatedBoxDecorationValue to AnimatedDecorationValue, and make it support lerping across any Decoration (by deferring to the objects involved).
-
- 23 Nov, 2015 1 commit
-
-
Adam Barth authored
This package contains WidgetTester, which is very useful when writing tests for widgets.
-
- 16 Nov, 2015 1 commit
-
-
Hixie authored
- force the time dilation to 1.0 for the Widget tests, so that a local change doesn't break all the tests during development. - add missing license block to all the files. - set ui.window.onBeginFrame to null when you use WidgetTester, so that the engine doesn't trigger any confusing frames after our fake frames.
-
- 10 Oct, 2015 1 commit
-
-
Adam Barth authored
-
- 01 Oct, 2015 3 commits
-
-
Adam Barth authored
Fixes #1084
-
Adam Barth authored
-
Adam Barth authored
Now that we've ported all the widget tests to fn3, we don't need a separate fn3 directory.
-
- 25 Sep, 2015 1 commit
-
-
Adam Barth authored
-
- 18 Sep, 2015 1 commit
-
-
Adam Barth authored
Also, introduce Colors and Typography to hold the material colors and the typography declarations. Previously we expected clients of these libraries to import them into a namespace, but that doesn't play nice with re-exporting them from material.dart.
-
- 26 Aug, 2015 2 commits
-
-
Adam Barth authored
Also, rename build_utils.dart to widget_tester.dart. These files are now named for their most commonly used classes. Finally, add a .analysis_options to silence the (intentional) analyzer warnings in append_child_test.dart.
-
Adam Barth authored
Fixes #829
-
- 21 Aug, 2015 1 commit
-
-
Adam Barth authored
We now support uniform borders on circular box decorations. Fixes #741
-
- 19 Aug, 2015 1 commit
-
-
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.
-
- 08 Aug, 2015 1 commit
-
-
Ian Fischer authored
-
- 05 Aug, 2015 1 commit
-
-
Adam Barth authored
We still need to tune the various parameters, but this patch is a start.
-
- 30 Jul, 2015 1 commit
-
-
James Robinson authored
This changes Switch from being a subclass of the Toggleable widget to being a standalone Component with a custom RenderObject. This is to enable adding Switch-specific radial reaction animations in a subsequent patch. The CustomPaint logic that Toggleable was using does not provide a nice way for a class and its subclass to both participate in deciding to repaint.
-