7738 Commits

Author SHA1 Message Date
Justin McCandless
f3947ea0cd
Autocomplete (Material) (#73753)
* Material Autocomplete widget
2021-01-23 10:02:30 +08:00
Justin McCandless
d9a69e3b72
Desktop keys: up/down + line modifier (#74425)
up/down arrows + cmd (optionally + shift) works on desktop to jump selection to beginning/end of field
2021-01-22 17:56:18 -08:00
Mouad Debbar
e204eb2fca
Space and arrow keys in a text field shouldn't scroll (#74454) 2021-01-22 16:39:04 -08:00
Paul Berry
177fd261bb
Remove workaround now that type promotion accounts for local boolean variables. (#74449) 2021-01-22 16:34:06 -08:00
Kenzie Schmoll
0b3162bd9c
Create custom DiagnosticsNode type for DevTools deep links. (#74455)
* Create custom DiagnosticsNode type for DevTools deep links.
2021-01-22 16:29:42 -08:00
Kate Lovett
74e5182147
Remove span deprecations (#73747) 2021-01-22 16:29:02 -08:00
Kate Lovett
5af0429fa5
Remove API (#73746) 2021-01-22 16:24:04 -08:00
Shi-Hao Hong
5801f0e5fe
Expose DialogRoutes for state restoration support (#73829) 2021-01-22 16:20:44 -08:00
Shi-Hao Hong
3f37d86fff
Document TableRowInkWell and DataTable interactions better (#73018) 2021-01-22 16:19:06 -08:00
Zain Ur Rehman
46b0797b58
Expose AnimationController property to showBottomSheet/showModalBottomSheet (#72541)
* Expose AnimationController property to showBottomSheet/showModalBottomSheet (#72541)
ong <shihaohong@google.com>

Co-authored-by: Kate Lovett <katelovett@google.com>
Co-authored-by: Shi-Hao Hong <shihaohong@google.com>
2021-01-22 17:48:49 +08:00
xubaolin
5b1a771269
MaterialBanner alignment fixes and improvements (#74309) 2021-01-21 18:44:03 -08:00
Kate Lovett
eb9bac6489
ScaffoldMessenger only shows to root nested Scaffold (#74093) 2021-01-21 17:34:05 -08:00
xubaolin
4bdea117a4
fix a tap gesture exception (#73846) 2021-01-21 17:29:04 -08:00
Kate Lovett
550a85dabd
Remove deprecated Element methods (#72903) 2021-01-21 17:24:05 -08:00
Zain Ur Rehman
45cf27923a
[showModalBottomSheet] fix: showModalBottomSheet does not move along keyboard (#71636) 2021-01-21 17:19:04 -08:00
Jonah Williams
cecb7f3b58
Revert "Update PopupMenuButton to match Material Design spec (#70160)" (#74439)
This reverts commit 79d0358ece1ea00d7007e83dacb4343c7db5b419.
2021-01-21 12:51:53 -08:00
Kenzie Schmoll
b45088c0cf
Print DevTools inspector links in RenderFlex Overflow errors (#74251) 2021-01-21 02:59:04 -08:00
Justin McCandless
a8471a61f8
Material Desktop Context Menu (#74286)
Very simple right-click context menu for Windows and Linux in a Material-esque style.
2021-01-20 16:29:01 -08:00
Kate Lovett
aed4518569
Remove deprecated WaitUntil[NoTransientCallbacks, NoPendingFrame, FirstFrameRasterized] methods from flutter_driver (#73754) 2021-01-20 16:19:03 -08:00
Kate Lovett
97481e125a
Remove deprecated Layer.findAll (#73749) 2021-01-20 15:44:02 -08:00
Muskan Jain
d57512ce08
AdoptAWidget: ColorFiltered (#71093) 2021-01-20 15:34:03 -08:00
Ian Hickson
80142d4560
Update the alt text to match recommendations in https://html.spec.whatwg.org/multipage/images.html#alt (#74089) 2021-01-20 15:14:03 -08:00
LongCatIsLooong
a4b27cbf63
Update CupertinoSlidingSegmentedControl (#73772) 2021-01-20 14:54:03 -08:00
LongCatIsLooong
e21344faa5
minor streetAddressLine2 documentation update (#73370) 2021-01-20 14:49:03 -08:00
LongCatIsLooong
61299b1621
Revert "[text_input] prepare for custom text input sources (#72803)" (#74349) 2021-01-20 13:54:06 -08:00
Michael Goderbauer
def31b42b1
Improve DebugCreator docs (#74341) 2021-01-20 13:42:21 -08:00
stuartmorgan
48b3e8bf3a
Don't use iOS font names for the macOS theme (#74342)
macOS was sharing the iOS font theme, but the names of the underlying
fonts differ between the two platforms, so this was actually using the
fallback font from the engine. Instead of using the underlying font
names on macOS, which is no longer allowed by CoreText, use the
meta-font returned by systemFontOfSize:

This has been verified on 10.15; older versions of macOS may need
different font names as the handling of these fonts have changed over
time. Fixing older versions as necessary will be handled in a follow-up.

See https://github.com/flutter/flutter/issues/57805
2021-01-20 13:21:07 -08:00
Justin McCandless
24e195d918
Mac context menu (#73882)
A very minimal right-click menu for Mac desktop.
2021-01-20 13:18:25 -08:00
Hans Muller
c66596e595
Removed uses of AppBarTheme.color in packages/flutter (#74273) 2021-01-20 12:19:18 -08:00
RomanJos
2a2e0cf100
Add clipBehavior to InteractiveViewer (#73281)
More intuitive control over whether the child can overflow out of InteractiveViewer, deterring a lot of confusion we were seeing.
2021-01-20 11:57:37 -08:00
Greg Spencer
2e3d3e6522
Revert "ListTile Material Ripple and Shape Patch (#73618)" (#74335)
This reverts commit 024c49da856918bfa6e65bb622a5bc9df91a276d because it breaks Google internal tests.
2021-01-20 11:42:48 -08:00
Nathan Walker
024c49da85
ListTile Material Ripple and Shape Patch (#73618)
This PR replaces the ColoredBox that ListTile uses with an Ink widget. That Ink widget is given a ShapeDecoration with the ListTile's color and shape. This fixes issues where the ListTile color would obscure material ripple effects, and cause the specified shape to not be respected.

List which issues are fixed by this PR. You must list at least one issue.

Fixes #73616
Fixes #63877
Fixes #67117

If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.

I modified a handful of tests related to ListTiles. The tests I changed had implementation-specific ways of checking the ListTile color. I have rewritten those so that instead of checking for a ColoredBox with a specific color, they check that a path is painted with the correct color.

I added the following tests to list_tile_test.dart:

"ListTile shows Material ripple effects on top of tileColor" (Regression test for #73616)
"ListTile shape is painted correctly" (Regression test for #63877)
I added the following test to sliver_prototype_item_extent_test.dart:

"SliverPrototypeExtentList prototypeItem paint transform is zero" (Regression test for #67117)
2021-01-19 19:28:13 -08:00
Todd Volkert
5322c6f860
Fix RenderCustomPaint intrinsics (#72103)
Make RenderCustomPaint consult its preferred size for intrinsics when it has no child. Currently, it returns 0 for its intrinsics, even if it has a non-zero preferred size.
2021-01-19 16:24:34 -08:00
Kate Lovett
80f88a7981
Remove deprecated Scaffold.resizeToAvoidBottomPadding (#72890) 2021-01-19 16:14:05 -08:00
Greg Spencer
2d0afe4d83
Add some new examples to Actions and Shortcuts (#72163)
Adds a couple of new examples to the Actions and Shortcuts widgets, and updates some documentation.
2021-01-19 15:45:36 -08:00
xubaolin
e7772d0e2e
Reland "Improve the ScrollBar behavior when nested (#71843)" (#74104) 2021-01-19 15:44:03 -08:00
Kate Lovett
3fbe1a5904
Remove deprecation from RenderView (#73748) 2021-01-19 14:49:03 -08:00
Kate Lovett
4feb18ca3d
Remove deprecated CupertinoDialog (#73604) 2021-01-19 14:44:03 -08:00
Kate Lovett
164e19beee
Remove deprecated actionsForegroundColor (#73745) 2021-01-19 14:39:05 -08:00
Kate Lovett
7a413e715f
Expand Stack fix to more exporting libraries (#74077) 2021-01-19 12:24:04 -08:00
Michael Goderbauer
e9a91521f3
Add ios and hot reload/restart infos to restoration docs (#73585) 2021-01-19 09:20:51 -08:00
Kate Lovett
45d01c95de
Add fixes for autovalidate deprecation in Form, FormField, TextFormField, and DropdownButtonFormField (#73996) 2021-01-15 17:04:03 -08:00
Jenn Magder
54ef030ab8
Revert "Improve the ScrollBar behavior when nested (#71843)" (#74088)
This reverts commit 99daddc2c07840f06ee7fff1d4c11675bfe97a36.
2021-01-15 16:15:52 -08:00
xubaolin
99daddc2c0
Improve the ScrollBar behavior when nested (#71843) 2021-01-15 15:24:03 -08:00
Kate Lovett
8aeef71e99
Add fixes for deprecations in TextTheme (#73994) 2021-01-15 14:44:04 -08:00
xubaolin
79d0358ece
Update PopupMenuButton to match Material Design spec (#70160) 2021-01-15 14:34:05 -08:00
Kate Lovett
aace9a2ac1
Add fixes for Stack deprecation (#73989) 2021-01-15 13:14:05 -08:00
chunhtai
6a4808b4ed
Remove unused semantics tap action for readonly textfield and selectable text (#74066) 2021-01-15 12:54:03 -08:00
chunhtai
1b310472c0
Fix canpop logic to be more robust (#73993) 2021-01-15 12:29:04 -08:00
J-P Nurmi
b73722b1d9
[text_input] prepare for custom text input sources (#72803) 2021-01-15 11:24:04 -08:00