18 Commits

Author SHA1 Message Date
Devon Carew
8ba214daa2 minor update to flutter daemon 2016-03-15 09:27:58 -07:00
Devon Carew
799d3114e9 update a field ref in playfair 2016-03-12 19:22:04 -08:00
Adam Barth
95fc5ae070 [rename fixit] *Component* -> *Widget*
This patch renames StatelessComponent to StatelessWidget and
StatefulComponent to StatefulWidget.

Fixes #2308
2016-03-12 12:34:05 -08:00
Adam Barth
0277b075e0 Provide the BuildContext to createRenderObject and updateRenderObject
We'll need this for RTL support because the RTL state will live in the widget
tree. Also, remove the `oldWidget` argument to updateRenderObject because there
aren't any clients for it.
2016-03-11 08:59:37 -08:00
Adam Barth
fb4dbf4584 Improve TextSpan
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.
2016-02-24 14:07:10 -08:00
Ian Hickson
a94999ba50 Clean up imports and exports.
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.
2016-02-11 00:06:23 -08:00
Lex Berezhny
64b27be5dd maxWidth -> maxIntrinsicWidth 2015-10-28 22:10:08 -04:00
Lex Berezhny
9153e7bbce update playfair to match flutter/painting module refactoring 2015-10-28 20:43:37 -04:00
Adam Barth
9b46c2d89c Update playfair after package:flutter rename 2015-10-12 00:11:28 -07:00
Adam Barth
f54811810c Port playfair to fn3 2015-09-30 19:59:49 -07:00
Adam Barth
16f4f836af Update playfair after TextPainter rename 2015-08-29 11:47:18 -07:00
Collin Jackson
806942c4c4 Support for indicator lines 2015-08-20 12:32:15 -07:00
Collin Jackson
4a2d9c44d8 Draw horizontal gridlines 2015-08-18 15:25:09 -07:00
Collin Jackson
29dee5f361 Update Chart to use new LeafRenderObjectWrapper API 2015-08-17 15:34:01 -07:00
Collin Jackson
338411606e Style the axis labels 2015-08-17 15:25:03 -07:00
Eric Seidel
4fc0cbf0eb Update RenderChart to expect a PaintingContext instead of PaintingCanvas
@abarth @collinjackson

It appears this code still depends on drawText which does not exist.
2015-08-17 13:25:59 -07:00
Collin Jackson
17a271d65b abarth cr feedback and example test code 2015-08-12 14:33:22 -07:00
Collin Jackson
e2ac4385a4 Basic line charts 2015-08-12 13:18:18 -07:00