1396 Commits

Author SHA1 Message Date
Ian Hickson
bef6ff3b06 Provide more documentation for MojoShell
As usual, as I was doing this I ran into some stuff that seemed hard
to document as-is and so I changed it. In this case, in the "http"
library. The new code is more or less equivalent, I think, but the
resulting documentation makes it more obvious that it's wrong...
2016-03-20 23:47:19 -07:00
Ian Hickson
e39a7c4144 Track metrics for RepaintBoundary.
Fixes https://github.com/flutter/flutter/issues/475
2016-03-19 09:36:33 -07:00
Andrew Wilson
861423876d Refactor CheckedModeBanner into something more reusable. 2016-03-18 19:03:16 -07:00
Hixie
7e3bef1163 Replace WidgetError and RenderingError with FlutterError 2016-03-18 15:40:38 -07:00
Adam Barth
65cb3ee769 Add dartdoc for child widgets
This patch adds a consistent, simple description for the common pattern of
having a single child widget.
2016-03-18 15:19:36 -07:00
Hixie
8f3f07653c Docs for AvatarCircle. 2016-03-18 15:02:17 -07:00
Matt Perry
2988cab732 Merge pull request #2786 from mpcomplete/tabs
Tweak the selected tab indicator animation.
2016-03-18 17:31:36 -04:00
Adam Barth
f2d78aed8e Merge pull request #2784 from abarth/view_services
Look for the keyboard in the view services
2016-03-18 14:17:54 -07:00
Adam Barth
addc87dcf1 Look for the keyboard in the view services
The engine now provides the keyboard and raw keyboard services via the view
services. This patch updates the framework to look there for the keyboard.
Also, this patch migrates callers to the new MojoServices name for these entry
points.
2016-03-18 14:05:51 -07:00
Hixie
0698cdadd5 Fix some icon names
At some point we were overly zealous about s/new/const/ in this file.
2016-03-18 13:54:42 -07:00
qchong
c78191c9e6 Merge pull request #2780 from qchong/update-animation-api-docs
docs: Updated descriptions for Animation API docs.
2016-03-18 13:48:16 -07:00
Quddus Chong
cbd0aa5bd3 docs: Updated descriptions for the Animation APIs. 2016-03-18 13:38:43 -07:00
Hixie
ef6281652a More tweaking of how Icons dartdocs. 2016-03-18 13:29:56 -07:00
Matt Perry
79d08aad9f Tweak the selected tab indicator animation.
Made it faster and less stretchy.
2016-03-18 16:20:56 -04:00
Hixie
97b0fcaf39 Fix markdown errors with last Icons dartdoc patch 2016-03-18 13:12:22 -07:00
Hixie
e53d6cf3ea Improve the material design icon dartdocs further 2016-03-18 12:39:25 -07:00
Hixie
7b7870d8c1 Add yet more dartdocs. 2016-03-18 11:15:07 -07:00
Ian Hickson
561a94ccfe Miscellaneous dartdoc markdown fixes 2016-03-17 22:27:58 -07:00
Ian Hickson
121c7a0368 Merge pull request #2728 from Hixie/widgetsapp
Widgets App fixes and minor newton cleanup
2016-03-17 22:15:36 -07:00
Ian Hickson
9568c95700 Merge pull request #2775 from Hixie/textPainter-docs
More dart docs for text painter
2016-03-17 19:08:39 -07:00
Ian Hickson
d8c7473640 Fix WidgetsApp issues
- Make the textStyle optional
- Remove routes
- Make onGenerateRoute required
- Add some dartdocs
2016-03-17 18:59:30 -07:00
Hixie
f5a00d8e91 More dart docs for text painter 2016-03-17 18:31:09 -07:00
Hixie
6e96b1465d Add Decoration.lerp and document Decoration 2016-03-17 18:15:18 -07:00
Hixie
9d1b1df6f3 Fix position of the overlay
Now that the overlay actually respects the position we give it, put it
somewhere where the keyboard won't overlap it.
2016-03-17 17:26:34 -07:00
Ian Hickson
bf42da35b2 Merge pull request #2753 from Hixie/binding-docs
Add some docs for people looking at bindings
2016-03-17 17:25:45 -07:00
Ian Hickson
a7490422de Merge pull request #2760 from Hixie/stack-docs
Improve Stack documentation.
2016-03-17 17:25:39 -07:00
P.Y. Laligand
fce6ecf699 Merge pull request #2770 from pylaligand/typos
Fixed some typos.
2016-03-17 17:07:49 -07:00
Adam Barth
d38a0db3d9 Merge pull request #2764 from abarth/use_draw_paragraph
Use Canvas#drawParagraph
2016-03-17 16:53:04 -07:00
Matt Perry
b20113eec5 Material: Fix selected tab indicator animation.
- The indicator no longer goes crazy when you select another tab while
  it's animating.
- The indicator's trailing edge lags behind the trailing edge, giving it
  a neat stretchy feel.

BUG=https://github.com/flutter/flutter/issues/1617
BUG=https://github.com/flutter/flutter/issues/1955
2016-03-17 17:23:28 -04:00
Adam Barth
c9d3217c3b Use Canvas#drawParagraph
We'll eventually remove Paragraph#paint.

Fixes #2694
2016-03-17 13:45:35 -07:00
Hixie
1d699b2146 Improve Stack documentation. 2016-03-17 13:28:58 -07:00
Hixie
de8ba53076 Add some docs for people looking at bindings 2016-03-17 09:52:52 -07:00
P.Y. Laligand
6f8c103e27 Fixed some typos. 2016-03-17 09:39:16 -07:00
Adam Barth
7db4f8df9c Fix spelling of dependents
Noticed in #2733
2016-03-16 19:50:03 -07:00
Hixie
a4ee70c075 Flesh out rendering library top-level docs 2016-03-16 14:46:14 -07:00
Adam Barth
e1f0d8c974 Merge pull request #2727 from abarth/within_rect
Use FractionalOffset for gradients
2016-03-15 22:16:08 -07:00
Adam Barth
502a4ae078 Use FractionalOffset for gradients
These were using Offsets, but they're really FractionalOffsets.

Fixes #2318
2016-03-15 19:30:41 -07:00
Adam Barth
303837c19f Rename AnimatedWidgetBase -> ImplicitlyAnimatedWidget
The previous name was confusingly similar to AnimatedWidget, which is
for explicit animations.
2016-03-15 18:43:42 -07:00
Adam Barth
0eea48c8bd Merge pull request #2724 from abarth/drag_down2
Tapping drawer during animation causes it to stick
2016-03-15 16:51:47 -07:00
Adam Barth
a710676d5f Tapping drawer during animation causes it to stick
The problem was we were using a tap gesture to stop the motion of the
drawer and a drag gesture to settle it. That can cause a broken
lifecycle. Now we use a single drag recognizer to drive the whole
lifecycle.

Fixes #775
Fixes #1276
2016-03-15 16:43:34 -07:00
Collin Jackson
98636d5ba5 Merge pull request #2720 from collinjackson/axis_alignment
Change SizeTransition API to take a double instead of FractionalOffset for alignment
2016-03-15 16:06:35 -07:00
Collin Jackson
68aad28653 Change SizeTransition API to take a double instead of FractionalOffset for alignment 2016-03-15 15:54:10 -07:00
Adam Barth
c0b2b1c739 Merge pull request #2712 from abarth/global_key_docs
Improve dartdoc for GlobalKey
2016-03-15 15:29:05 -07:00
Adam Barth
5a92e2d0da Improve dartdoc for GlobalKey
Fixes #2708
2016-03-15 15:05:14 -07:00
Collin Jackson
baa1e7ee23 Provide a list of Material design primary and accent color swatches 2016-03-15 13:58:45 -07:00
Adam Barth
dd8413c666 Merge pull request #2695 from abarth/inherit_render_object_widget
Let RenderObjectWidgets use inherited properties
2016-03-15 08:42:17 -07:00
Adam Barth
0084e95a43 Update RichText dartdoc
The old text was misleading because it was written when RichText was an
implementation detail of Text.

Fixes #2624
2016-03-14 20:12:39 -07:00
Adam Barth
3ebd4c58b6 Let RenderObjectWidgets use inherited properties
This prepares us for depending on the LTR/RTL inherited property in
RenderObjectWidgets.
2016-03-14 16:56:56 -07:00
Hans Muller
c111daf6f0 Updated AppBar.copyWith parameter names 2016-03-14 15:50:38 -07:00
Hixie
797e27edd3 Add @override annotations to flutter framework 2016-03-14 14:02:26 -07:00