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
Madhur Maurya
9209319dd1
Add BottomNavigationBarType.shifting sample #72936 ( #73103 )
2021-01-15 01:04:03 -08:00
Hans Muller
ed0aed7d24
Removed the color field from AppBarTheme ( #73732 )
2021-01-14 21:06:54 -08:00
Hans Muller
f63eb0b281
BorderTween.lerp supports null begin/end values ( #73992 )
2021-01-14 17:16:04 -08:00
Kate Lovett
2a64fdbc43
Restore adaptive nature to new Scrollbar ( #73899 )
2021-01-14 15:39:03 -08:00
xubaolin
3b2044ab57
Improve the Scaffold.bottomSheet update behavior ( #73084 )
2021-01-14 15:24:04 -08:00
xubaolin
217cd102bb
fix an assertion causes by zero offset pointer scroll ( #73016 )
2021-01-14 13:59:03 -08:00
Pedro Massango
ac2f62a9c1
Provide a way to change the default PopupMenuButton's icon size ( #68000 )
2021-01-14 13:24:05 -08:00
xubaolin
737824db40
snackBar should paint above the bottomSheet ( #73558 )
2021-01-14 13:09:04 -08:00
Shi-Hao Hong
ce94266840
Apply ListTile colors to leading and trailing text widgets ( #73925 )
2021-01-14 02:34:02 -08:00
xubaolin
3cd837fc2e
Fix single ToggleButton border painting bugs ( #73780 )
2021-01-14 00:04:03 -08:00
Pedro Massango
333dc5d88a
Fixes: "FloatingActionButton.extended's isExtended property if false should show icon, not label" ( #72431 )
...
* Fix extended FAB with isExtended set to false showing both icon and label
2021-01-14 13:56:54 +08:00
Hans Muller
f5578257ce
Added CupertinoButton alignment property ( #73900 )
2021-01-13 16:29:36 -08:00
Hans Muller
489d29c181
Added ButtonStyle.alignment property ( #73894 )
2021-01-13 14:40:21 -08:00
Gary Qian
49667ba2f5
DeferredComponent utility class for manual handling of Deferred Components ( #72895 )
2021-01-13 14:04:06 -08:00
Justin McCandless
d9f3d2e846
Cupertino text selection menu customization ( #73578 )
...
* Making a custom iOS-style text selection menu is now much easier.
* Exposes a new widget for the toolbar, a new widget for the buttons, and a new widget for the layout.
2021-01-13 11:14:14 -08:00
Robert Ancell
c65304bbf1
Map Linux AltGr to right alt. It was currently being ignored. ( #73373 )
...
Fixes https://github.com/flutter/flutter/issues/68713
2021-01-13 14:31:22 +13:00
Jia Hao
8a5ace25a5
Improve performance of Widget Tests ( #70730 )
2021-01-12 17:29:03 -08:00
Kate Lovett
09008e6f71
Add ScrollbarTheme/ScrollbarThemeData ( #72308 )
2021-01-12 17:14:04 -08:00
Sam Rawlins
737ceb04f8
Remove "unnecessary" imports. ( #73486 )
2021-01-12 11:09:03 -08:00
Sam Rawlins
27f6ccf435
Remove "unnecessary" imports from flutter/src/gestures ( #73389 )
2021-01-12 11:04:05 -08:00
xubaolin
32dc1b7d00
Add [pointerCount] property to Scale Gesture Details ( #73474 )
2021-01-11 19:14:04 -08:00
Devon Carew
e143ac2d85
increase the value of debugImageOverheadAllowance from 104 bytes to 128kb ( #73720 )
2021-01-11 16:34:27 -08:00
Pedro Massango
0b5905070c
Fix "RefreshIndicator.color didn't update at runtime" ( #73566 )
...
* update dependencies when widget configuration changes
2021-01-11 12:57:40 -08:00
Renzo Olivares
59783d0fe1
Selecting spaces on SelectableText (mobile) ( #73300 )
2021-01-11 11:24:03 -08:00
Hans Muller
6f002abcd7
Revert "Prevent text from overflowing in OutlineButton and OutlinedButton label. ( #70872 )" ( #73715 )
2021-01-11 10:19:04 -08:00
Hans Muller
9a43df5142
Deprecated obsolete Material classes: FlatButton, RaisedButton, OutlineButton ( #73352 )
2021-01-08 15:44:47 -08:00
Michael Goderbauer
535392bfd5
added tests, removed API ( #69620 )
2021-01-08 15:44:08 -08:00
Michael Goderbauer
24d434d156
Revert "Revert "Fix _LateInitializationError for RenderObjectElement.renderObject ( #70974 )" ( #73575 )" ( #73580 )
2021-01-08 12:49:04 -08:00
Alabhya
12f426f317
[Api docs]Added dartpad demo for Bottom App Bar ( #73044 )
2021-01-08 11:20:35 -08:00
Michael Goderbauer
edfb6305d8
Revert "Fix _LateInitializationError for RenderObjectElement.renderObject ( #70974 )" ( #73575 )
...
This reverts commit c243d834ce41bc5d279b0264efbc6b3c9e0df53d.
2021-01-08 10:24:10 -08:00
Michael Goderbauer
c243d834ce
Fix _LateInitializationError for RenderObjectElement.renderObject ( #70974 )
2021-01-08 09:35:10 -08:00