6799 Commits

Author SHA1 Message Date
Xilai Zhang
e749db6f91
Revert "Refactor reorderable list semantics" (#124368)
Revert "Refactor reorderable list semantics"
2023-04-07 01:46:06 +00:00
Greg Spencer
692a7efa3f
Initialize ThemeData.visualDensity using ThemeData.platform instead of defaultTargetPlatform (#124357)
Initialize `ThemeData.visualDensity` using `ThemeData.platform` instead of `defaultTargetPlatform`
2023-04-07 01:44:23 +00:00
Henry Riehl
73996ea40b
Add vertical alignment offset to the ``MenuAnchor`` widget when overflowing (#123740)
Positioning of cascading menus.
2023-04-06 16:57:30 -07:00
Greg Price
846fcefd21
Fix surface-size state leak in material/paginated_data_table_test (framework shuffle-all 3/n) (#123842)
Fix surface-size state leak in material/paginated_data_table_test (framework shuffle-all 3/n)
2023-04-06 23:34:12 +00:00
chunhtai
94327e7aa8
Refactor reorderable list semantics (#123263)
Refactor reorderable list semantics
2023-04-06 22:01:03 +00:00
Tirth
6338ab1575
[DropdownMenu] add helperText & errorText to DropdownMenu Widget (#123775)
[DropdownMenu] add helperText & errorText to DropdownMenu Widget
2023-04-06 21:33:21 +00:00
Ian Hickson
806c1f8186
Deprecate these old APIs (#116793)
Deprecate these old APIs
2023-04-06 19:53:50 +00:00
Gregory Conrad
4fc78b9355
Fix a memory leak in AutomaticKeepAlive (#124163)
Fix a memory leak in `AutomaticKeepAlive`
2023-04-06 18:17:56 +00:00
Tirth
743fcf7fcc
[Docs] Fix Typos (#124249)
[Docs] Fix Typos
2023-04-06 15:43:21 +00:00
Michael Goderbauer
98f35be7d9
Fix error about missing MediaQuery (#124243) 2023-04-05 22:19:30 -07:00
Qun Cheng
3a4fb9df4f
Fix search view position (#124169) 2023-04-05 16:27:45 -07:00
Renzo Olivares
90f8ac5b41
TapAndDragGestureRecognizer should declare victory immediately when drag is detected (#123055)
TapAndDragGestureRecognizer should declare victory immediately when drag is detected
2023-04-05 23:00:52 +00:00
Camille Simon
bc0cbc15d6
Add spell check TextSpan creation logic that doesn't rely on composing region (#123481)
Fixes https://github.com/flutter/flutter/issues/119534 by adding extra
logic to allow the proper `TextSpan` trees to be build with spell check
results that does not rely on the composing region.

Also, refreshes the algorithm used to correct spell check results to
improve cases where spell check results are out of date, but the
composing region line does not help smooth over this fact by giving the
framework extra time to update while a word is being composed (because a
composing region line would cover up any flashing red underlines).

## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [ ] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [ ] All existing and new tests are passing.

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
[test-exempt]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
[Discord]: https://github.com/flutter/flutter/wiki/Chat
2023-04-05 14:43:56 -07:00
Kate Lovett
0cfcdeec89
Revert "Fix scrolling in the Drawer and NavigationDrawer triggers AppBar's scrolledUnderElevation" (#124226)
Revert "Fix scrolling in the  `Drawer` and `NavigationDrawer` triggers AppBar's scrolledUnderElevation"
2023-04-05 16:10:32 +00:00
hellohuanlin
d1b8527f6b
[platform_view]fix iOS platform view's focus node leakage (#124066)
[platform_view]fix iOS platform view's focus node leakage
2023-04-05 03:56:51 +00:00
Taha Tesser
38805a4392
Fix clipBehavior for Drawer with shape and add clipBehavior property. (#124104) 2023-04-04 16:23:32 -07:00
chunhtai
9e4b5fb7d9
Adds i18n to widget layer (#123620)
Adds i18n to widget layer
2023-04-04 22:57:35 +00:00
Rydmike
be5a84295d
FIX: SegmentedButton segments background cannot be made transparent (#123293) 2023-04-04 15:38:20 -07:00
Christopher Fujino
b2c65acd5a
[flutter_tools] Remove --no-sound-null-safety #4 (#124039)
Re-land of https://github.com/flutter/flutter/pull/123297 without any of
the commits at the end attempting to fix customer-testing.

Fixes https://github.com/flutter/flutter/issues/118810
2023-04-04 15:25:27 -07:00
Mitchell Goodwin
c8a3dbaf06
Add adaptive constructor to Radio and RadioListTile (#123816)
Add adaptive constructor to Radio and RadioListTile
2023-04-04 20:33:02 +00:00
Michael Goderbauer
25a2dfb302
Rename RenderView.window to RenderView.view (#124060) 2023-04-04 11:22:22 -07:00
Taha Tesser
4d501ab0ff
Fix some MaterialBanner properties aren't respected when presented by ScaffoldMessenger (#124024)
Fix some `MaterialBanner` properties aren't respected when presented by `ScaffoldMessenger`
2023-04-03 16:38:14 +00:00
Casey Hillers
6fe54f8811
Revert "[flutter_tools] Remove --no-sound-null-safety #3" (#123969)
Revert "[flutter_tools] Remove --no-sound-null-safety #3"
2023-04-03 00:19:22 +00:00
Hans Muller
0c365bd9a8
M3 DatePicker landscape header text style is now TextTheme.headlineSmall (#123732)
M3 DatePicker landscape header text style is now TextTheme.headlineSmall
2023-04-01 01:14:38 +00:00
Justin McCandless
d5e25f220e
TextField in a ListView becomes unresponsive (#123734)
TextField in a ListView becomes unresponsive
2023-03-31 21:37:39 +00:00
Qun Cheng
db5434e566
Fix menu width issue for DropdownMenu (#123823) 2023-03-31 13:50:29 -07:00
Camille Simon
52cacd9d1d
[iOS] Add spell check suggestions toolbar on tap (#119189)
[iOS] Add spell check suggestions toolbar on tap
2023-03-31 19:47:22 +00:00
Henry Riehl
9a344c2604
Add option to keep ``MenuAnchor` open after `MenuItem`` tap (#123723)
Add option to keep ```MenuAnchor``` open after ```MenuItem``` tap
2023-03-31 17:22:59 +00:00
Justin McCandless
63e30480cd
Add secondary tap capabilities to TableRowInkWell (#123036)
Added new parameters onSecondaryTap and onSecondaryTapDown
2023-03-31 09:42:16 -07:00
Bernardo Ferrari
f5415a42d3
SemanticsFlag/SemanticsAction enum migration (part 2) (#123817)
`SemanticsFlag`/`SemanticsAction` enum migration (part 2)
2023-03-31 16:19:22 +00:00
Greg Price
6a92b93fea
Fix state leak in rendering/editable_test; remove no-shuffle (#123806)
Fix state leak in rendering/editable_test (framework shuffle-all 2/n)
2023-03-31 00:09:01 +00:00
Taha Tesser
be2388595e
Fix TableRow with no children throws unnamed assertion (#123770)
Fix `TableRow` with no children throws unnamed assertion
2023-03-30 22:26:51 +00:00
Qun Cheng
90776462e9
Fix bottom app bar height and end-contained fab location (#123746)
Fix bottom app bar height and end-contained fab location
2023-03-30 19:50:00 +00:00
Greg Price
a28aae918e
Remove no-shuffle from framework tests, part 1: easy cases (#123751)
Remove no-shuffle from framework tests, part 1: easy cases
2023-03-30 18:28:51 +00:00
Henry Riehl
5f71179480
Wire up MenuAnchor clipBehaviour property (#123632)
Wire up MenuAnchor clipBehaviour property
2023-03-30 17:11:26 +00:00
ivirtex
302c087738
Update CupertinoPageRoute transition animation curves (#122275)
Update `CupertinoPageRoute` transition animation curves
2023-03-30 15:43:40 +00:00
Mitchell Goodwin
84078c856f
Create CupertinoRadio Widget (#123296)
Create CupertinoRadio Widget
2023-03-30 15:43:36 +00:00
nt4f04uNd
3a7daaba78
Fix ListWheelScrollView gestures and paint coordinates in tests (#121342)
Fix ListWheelScrollView gestures and paint coordinates in tests
2023-03-30 08:15:26 +00:00
Taha Tesser
6e04bddd86
Fix scrolling in the Drawer and NavigationDrawer triggers AppBar's scrolledUnderElevation (#122600)
Fix scrolling in the  `Drawer` and `NavigationDrawer` triggers AppBar's scrolledUnderElevation
2023-03-29 23:02:11 +00:00
hangyu
32b75f08fe
Use SemanticsService.announce to announce form text validation error (#123373)
Use SemanticsService.announce to announce form text validation error
2023-03-29 23:00:24 +00:00
Justin McCandless
dd3dc5efbf
TextFormField.spellCheckConfiguration (#123295)
TextFormField.spellCheckConfiguration
2023-03-29 22:59:06 +00:00
Renzo Olivares
142dd6022f
Match iOS Longpress behavior with native (#123630)
Match iOS Longpress behavior with native
2023-03-29 20:22:03 +00:00
Simon Binder
c71f1dd76b
Treat hidden IndexedStack children as offstage for test finder (#123129)
Treat hidden `IndexedStack` children as offstage for test finder
2023-03-29 19:58:58 +00:00
Christopher Fujino
820ec70a8d
[flutter_tools] Remove --no-sound-null-safety #3 (#123297)
[flutter_tools] Remove --no-sound-null-safety #3
2023-03-29 17:56:23 +00:00
Ayush Bherwani
91311156e1
[Stepper] adds stepIconBuilder property (#122816)
[Stepper] adds stepIconBuilder property
2023-03-29 07:16:01 +00:00
Taha Tesser
d74a1bb012
Fix off-screen selected text throws exception (#123595)
Fix off-screen selected text throws exception
2023-03-29 06:54:53 +00:00
Kate Lovett
659ba386f6
Fix SliverGridRegularTileLayout.computeMaxScrollOffset for 0 children (#123348)
Fix SliverGridRegularTileLayout.computeMaxScrollOffset for 0 children
2023-03-29 00:13:50 +00:00
Henry Riehl
d173c660d8
Add alignmentOffset when menu is positioned on the opposite side (#122812)
Add alignmentOffset when menu is positioned on the opposite side
2023-03-28 20:59:52 +00:00
Kate Lovett
3dfc60c0d1
Revert "Fix divider width in scrollable TabBar for Material 3 and add dividerHeight parameter (#123127)" (#123616)
Revert "Fix divider width in scrollable `TabBar` for  Material 3 and add `dividerHeight` parameter"
2023-03-28 16:45:15 +00:00
Qun Cheng
0300cfa603
Create SearchAnchor and SearchViewTheme Widget (#123256) 2023-03-27 23:31:11 -07:00