Greg Spencer
e4b574d3d3
Cupertino Dialog Changes ( #17676 )
...
This replaces abandoned PR #14824 by @ekbiker, and gives it some love.
2018-05-17 22:36:16 -07:00
Noam Drong
fd55c4ec5b
Add glyph references for Cupertino-style icons ( #16605 )
2018-05-17 12:42:49 -07:00
Greg Spencer
ac67efbc83
Moving API doc asset URLs to point to the new location. ( #17697 )
...
I'm moving the assets in the assets-for-api-docs repo to a slightly different location to help with organization in that repo, so this PR points the doc URLs to the new location. The old assets won't be removed until this PR makes its way to the API docs website.
No documentation or code changes here, other than changing doc image URLs.
2018-05-17 09:53:06 -07:00
Dan Field
85cb38e71a
Fix consolidate HTTP response and add test ( #17082 )
...
* Fix consolidate response and add test
* Update AUTHORS
* ignore content-length
* fix formatting/update comment
* more commas
* Fix consolidate response and add test
* Update AUTHORS
* ignore content-length
* fix formatting/update comment
* more commas
* remove extra newline
2018-05-17 07:04:05 -04:00
Michael Goderbauer
6c9a7c5803
fixes ( #17624 )
2018-05-16 14:20:16 -07:00
Hans Muller
60272ee5bd
Restore the ListTile layout updates ( #17661 )
...
restored https://github.com/flutter/flutter/pull/17496
restored https://github.com/flutter/flutter/pull/17580
2018-05-16 12:33:07 -07:00
Jason Simmons
bb35bc3627
Add a background paint property to TextStyle ( #17586 )
...
See https://github.com/flutter/flutter/issues/11961
2018-05-16 09:19:28 -07:00
Greg Spencer
f38743593d
Add Spacer Widget ( #16642 )
...
This adds a simple spacer widget first suggested by Scott Stoll (@ScottS2017) in the abandoned PR #15802
This PR replaces that one, cleans it up, and adds a test.
2018-05-15 19:37:21 -07:00
Jonah Williams
ebd9a9621d
Increase contrast of Checkbox, Radio, And Switch widgets ( #17637 )
2018-05-15 17:55:45 -07:00
Hans Muller
6dcb0d62c3
Change kRadialReactionRadius from 24 to 20 ( #17620 )
2018-05-15 15:06:03 -07:00
Hans Muller
b7fc015f0a
Revert "Updated ListTile layout" ( #17612 )
...
This reverts commit ee019c0bca05c9d2293599e88aa2da0fdb9a76ce.
2018-05-15 14:08:13 -07:00
Hans Muller
c169136eff
Revert "Fixing list tile size in the presence of a large subtitle" ( #17611 )
2018-05-15 11:52:34 -07:00
David Shuckerow
5159ab3513
Add the ability to limit Draggables to a single axis ( #17587 )
...
* Add a draggable axis restrictor and tests
2018-05-15 10:09:25 -07:00
Todd Volkert
c4cb0ecff3
Updates to debugDisableShadows ( #17577 )
...
1. Make CupertinoSwitch use BoxShadow.toPaint() so that it respects
the `debugDisableShadows` flag.
2. Increase blue radius on debug banner
3. Only stroke "synthetic shadow" borders if elevation is positive.
2018-05-15 08:55:42 -07:00
Ian Hickson
8be2682ee4
Trivial cleanup of layer debugging flags ( #17411 )
...
In theory, this should aid with tree shaking and minutely optimize the code in release builds.
2018-05-14 23:23:55 -07:00
Greg Spencer
a25bbc7bfc
Fixing list tile size in the presence of a large subtitle ( #17580 )
...
Take into account the subtitle height when adjusting the height of the widget. Added a test.
2018-05-14 15:51:12 -07:00
Hans Muller
ee019c0bca
Updated ListTile layout ( #17496 )
2018-05-14 08:18:17 -07:00
Hans Muller
674e44f361
Correct a typo in InputDecorator, affects computeMinIntrinsicHeight() ( #17512 )
2018-05-11 10:14:32 -07:00
xster
e42c50cf20
Post libtxt/post iOS 11 fidelity fine tuning ( #17366 )
2018-05-10 17:35:18 -07:00
Greg Spencer
c2c64a5a4c
Add onChangeStart and onChangeEnd to slider. ( #17298 )
...
This fixes #17169 by adding onChangeStart and onChangeEnd to the slider. These will be called when the user starts a change, and when they end a change, regardless of whether that change is a tap or a drag.
These differ from onChanged, in that they only report when the user starts and ends an interaction, not at every slight change.
2018-05-10 17:29:43 -07:00
Greg Spencer
a365c41cb5
Fix handling of null body2 text style for chip and slider ( #17311 )
...
Before this change, if you specified a non-null textTheme, but the theme you specified didn't have a body2 defined, then creating a ChipTheme would assert (which means creating a ThemeData would fail).
This adds handling for this corner case to default to reasonable values in that case. The slider had the same problem, but for accentTextTheme, so I fixed that too.
While I had the patient open, Hans and I noticed that TextTheme.merge wasn't doing the right thing in the case where some members were null either, so I fixed that, and added some examples, since merge/copyWith are common operations that are not always well understood.
Fixes #17251
2018-05-10 14:37:14 -07:00
Devon Carew
09dec7f508
re-write flutter analyze to use the analysis server ( #16979 )
...
re-write flutter analyze (the single-shot and --flutter-repo) to use the analysis server
2018-05-10 09:48:40 -07:00
Ian Hickson
ca94bfdfc6
Factor our common Paint-building code used with BoxShadow ( #17363 )
2018-05-09 22:42:38 -07:00
Jonah Williams
5732219500
Extend SystemUiOverlayStyle with additonal values for each platform ( #17171 )
2018-05-09 19:30:17 -07:00
Hans Muller
a02568b3ca
Added MediaQuery.textScaleFactorOf() ( #17450 )
2018-05-09 17:08:22 -07:00
Michael Goderbauer
7809651c74
Put cursor at end of field if textfield is focused ( #17367 )
2018-05-09 16:05:47 -07:00
Michael Goderbauer
dcb47f62ec
A11y fixes and tests for PopUpMenu ( #17446 )
2018-05-09 16:05:20 -07:00
Jason Simmons
4b6e574466
Use unselected styles for the tabs adjacent to the selected tab ( #17397 )
...
Fixes https://github.com/flutter/flutter/issues/16169
2018-05-09 09:56:35 -07:00
Anatoly Pulyaevskiy
50a1d91ff3
Allow customization of TextSpan in EditableText ( #16909 )
...
* Allow customization of TextSpan in EditableText
* Addressed PR comments
* Added test with custom-styled EditableText subclass
* More code style fixes
2018-05-08 17:40:54 -07:00
Peter Etelej
e54887fb12
Fix minor dartdoc typo ( #17381 )
...
Minor typo fix for BottomAppBar doc
2018-05-08 08:17:44 -07:00
Jonah Williams
cb7afc4a63
Roll engine to 57f53b98a482c6f7f921f06f974c4d199097bfa1 ( #17362 )
2018-05-07 18:24:29 -07:00
Hans Muller
f8d0d877f5
Textfield InputDecorator height can grow to accomodate error text ( #17292 )
2018-05-04 13:26:46 -07:00
Michael Goderbauer
7984f6e043
Implicit a11y scrolling for iOS (and caching in Viewports) ( #17021 )
2018-05-04 10:48:06 -07:00
Chris Bracken
322eb81a79
Revert longPress/Tap and Gallery changes ( #17269 )
...
Revert longPress/Tap and Gallery changes
2018-05-03 16:51:45 -07:00
Jonah Williams
50bd39a913
Add longPress/Tap event to SemanticService ( #16945 )
2018-05-03 11:04:43 -07:00
Ian Hickson
57dd51a301
Fix documentation for UnconstrainedBox and code cleanup ( #17249 )
2018-05-03 10:56:35 -07:00
Konstantin Scheglov
9fe53b0d2b
Export @required from src/widgets/framework.dart ( #17208 )
2018-05-03 08:50:40 -07:00
xster
4e6045883c
Fix front layer can be tapped through bug on gallery ( #17181 )
2018-05-02 14:31:59 -07:00
Adrian Secord
1680e55c02
Updated links to Material design guidelines to use short links. ( #17077 )
2018-04-30 20:29:46 -07:00
Todd Volkert
b2c67e88d4
Make Layer.toImage() accept bounds rather than size ( #17129 )
...
It allows callers to account for things like shadows that paint
outside the bounds of the widget.
https://github.com/flutter/flutter/issues/16859
2018-04-30 15:26:17 -07:00
Todd Volkert
5972fdb7aa
Fix RenderView.paintBounds ( #17126 )
...
It should account for the device pixel ratio
https://github.com/flutter/flutter/issues/16859
2018-04-30 13:48:42 -07:00
Todd Volkert
a5a33325ef
Move toImage() impl from RepaintRenderBoundary to OffsetLayer ( #17060 )
...
https://github.com/flutter/flutter/issues/16859
2018-04-27 21:19:24 -07:00
Jonah Williams
f0c4bc30c6
Add SemanticService.tooltip method for Android tooltips ( #16978 )
2018-04-27 20:02:11 -07:00
Hans Muller
6334da0109
Assert that required dialog context args are non-null ( #16890 )
2018-04-27 16:33:38 -07:00
xster
f8fe5e3cba
Fix some glyph codes that pointed to the wrong places in CupertinoIcons ( #16916 )
2018-04-27 16:25:14 -07:00
Hans Muller
bf3bd7667f
New Gallery UI reprise ( #17031 )
2018-04-27 08:11:20 -07:00
Ian Hickson
c482cc4bb3
Add some suggestions for using Column with a SingleChildScrollView ( #16500 )
2018-04-26 16:06:39 -07:00
Ian Hickson
ca35ddd439
Add some Transform constructors ( #16553 )
...
See https://github.com/flutter/flutter/pull/15383
2018-04-26 16:06:17 -07:00
Hans Muller
e62a6451f7
Fixed ( #17010 )
2018-04-26 10:29:44 -07:00
Jason Simmons
d8f2f36935
Use a space instead of a zero-width space to calculate the preferred height of a line of text ( #16972 )
...
The zero-width space character may not be supported by the font requested in
the text style. If that happens, then libtxt will fall back to another font
to render that character, resulting in text metrics that do not match the
intended font.
Fixes https://github.com/flutter/flutter/issues/16257
2018-04-26 09:42:26 -07:00