Hans Muller
ff424196fc
Fixed VirtualViewport child key assignment
2016-03-22 14:46:50 -07:00
Hixie
34cc0c4728
Rationalise the overflow render boxes
...
New RenderAligningShiftedBox abstract class for render boxes with
"alignment", which as of now is:
- RenderPositionedBox
- RenderConstrainedOverflowBox (ex RenderOverflowBox)
- RenderSizedOverflowBox
- RenderFractionallySizedOverflowBox (ex RenderFractionallySizedBox)
(The respective widgets are Align, OverflowBox, SizedOverflowBox, and
FractionallySizedBox. They haven't been renamed.)
Also I added some toString details.
2016-03-22 14:06:49 -07:00
Hixie
71976b306b
Fix RenderFractionallySizedBox's constraints logic
...
Fixes https://github.com/flutter/flutter/issues/2735
2016-03-22 10:29:43 -07:00
Jason Simmons
b00cf22e0d
Merge pull request #2788 from jason-simmons/messaging_to_host
...
Provide APIs for exchanging messages with the host application
2016-03-22 10:15:31 -07:00
Hans Muller
1af58aee4a
Fix Fast Fling Failure
2016-03-22 08:43:22 -07:00
Jason Simmons
074564eec3
Provide APIs for exchanging messages with the host application
2016-03-21 16:39:55 -07:00
Adam Barth
2fc4f2079d
Merge pull request #2818 from abarth/scroll_tolerance
...
Scrollable sometimes pushes frames forever
2016-03-21 12:39:21 -07:00
Adam Barth
5a5fcb959d
Scrollable sometimes pushes frames forever
...
We were setting a negative velocity tolerance, which never triggered because we
assume tolerances are positive numbers. Now we use a positive tolerance and
assert to catch this case in the future.
Fixes #2765
2016-03-21 12:21:24 -07:00
Hans Muller
70550a7a9a
Fix _LazyWidgetProvider indexing, move Ali Connors
2016-03-21 12:20:09 -07:00
Adam Barth
24bf14c518
Merge pull request #2814 from abarth/custom_switch_thumb
...
Allow customizing of Switch thumbs
2016-03-21 12:11:25 -07:00
Adam Barth
c0536ff7db
Allow customizing of Switch thumbs
...
Fixes #2621
2016-03-21 11:04:44 -07:00
Hans Muller
7456f6ae32
Merge pull request #2782 from HansMuller/app_bar
...
Flexible AppBar with a TabBar
2016-03-21 11:04:39 -07:00
Hans Muller
070fdf7754
Flexible AppBar with a TabBar
2016-03-21 10:42:52 -07:00
Adam Barth
3ed2738683
Improve error message when ChildView lacks a MediaQuery
...
Fixes #2662
2016-03-21 10:34:16 -07:00
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
Adam Barth
6d55f5d374
Merge pull request #2755 from abarth/mojo_shell_bool
...
Add a bool to indicate whether we're in MojoShell
2016-03-17 22:12:58 -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
Adam Barth
23a7604829
Add a bool to indicate whether we're in MojoShell
...
In MojoShell, we can connect to other applications. This patch adds a bool that
clients can use to check whether that feature is available without needing to
try to connect to an application.
2016-03-17 10:17:47 -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