37 Commits

Author SHA1 Message Date
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
Eric Seidel
1bde1e7939 Generate docs for more of our packages
I also stopped pushing docs to domokit.org I presume we
were doing that to not break old links.  @abarth

@sethladd
2015-12-18 08:52:05 -08:00
Ian Hickson
7151fdd054 Move flutter tests from packages/unit to packages/flutter/test 2015-12-16 08:00:57 -08:00
Jason Simmons
cb6eef70e8 Upgrade the test package (needed by the latest mojo roll) 2015-12-10 16:25:12 -08:00
Adam Barth
f41869f639 Update package:test to the latest version 2015-11-30 18:41:10 -08:00
Adam Barth
58f056da68 Pin package:test to an exact revision
We use a number of non-public APIs in the test package, which makes our
dependency quite fragile. This patch pins a specific, known-good version. We
should update to the lastest version in a follow-up patch.
2015-11-24 09:22:11 -08:00
Adam Barth
b1a17cb0f8 Fix remaining analyzer warnings
Constructor tear-offs aren't supported by the analyzer yet.
2015-11-10 14:12:15 -08:00
Adam Barth
778289f7d0 Use path dependencies for Playfair 2015-11-10 07:56:43 -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
3075756338 Rev pub package 2015-10-01 09:53:52 -07:00
Adam Barth
e299fe1b51 Switch to the production name for fn3 2015-10-01 09:53:13 -07:00
Adam Barth
f54811810c Port playfair to fn3 2015-09-30 19:59:49 -07:00
Adam Barth
76ed7ae20c Update README.md
s/domokit/flutter/
2015-09-19 08:42:10 -07:00
Adam Barth
0c5d0221c8 Rev pub package 2015-09-18 09:56:44 -07:00
Adam Barth
92e7e4935c Update imports after material.dart rename 2015-09-18 09:56:10 -07:00
Adam Barth
b3b4b4573f Rev pub package 2015-08-29 15:52:08 -07:00
Adam Barth
16f4f836af Update playfair after TextPainter rename 2015-08-29 11:47:18 -07:00
Eric Seidel
03cc05ac29 Rev pub package to 0.0.6 which includes indicator lines
@collinjackson
2015-08-25 13:26:35 -07:00
Collin Jackson
806942c4c4 Support for indicator lines 2015-08-20 12:32:15 -07:00
Adam Barth
f78c0a8284 Rev pub package 2015-08-18 21:47:18 -07:00
Adam Barth
62d2f6ca46 Update Sky imports 2015-08-18 21:46:23 -07:00
Collin Jackson
1ff3e08ede Bump version to 0.0.4 2015-08-18 15:45:00 -07:00
Collin Jackson
4a2d9c44d8 Draw horizontal gridlines 2015-08-18 15:25:09 -07:00
Eric Seidel
2843bd5b8d Update version to 0.0.3 2015-08-17 17:38:53 -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
0988c0637e Update pub version 2015-08-12 14:37:49 -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
Devon Carew
1597359bef add test dep; make the travis build pass 2015-08-10 21:22:59 -07:00
Devon Carew
85d2c01599 update the readme to convert newton ==> playfair 2015-08-10 19:16:19 -07:00
Collin Jackson
114b195e66 depend on sky 2015-08-10 17:53:59 -07:00
Collin Jackson
44cb5f1ee7 Initial commit 2015-08-10 17:49:33 -07:00