7769 Commits

Author SHA1 Message Date
Kate Lovett
a664731a14
Add fixes for nullOk changes (#74866) 2021-01-28 14:31:34 -06:00
Juyeong Lee
68bd9c0146
Add more references to LongPressDraggable (#74835) 2021-01-28 09:58:58 -08:00
Jesse
2e7ab87a4d
Reland "Add BuildContext parameter to TextEditingController.buildTextSpan" (#73510) 2021-01-28 09:49:03 -08:00
xubaolin
d40f4399e2
Fix a slider layout bug when the overlay size is smaller than the thumb size (#74880) 2021-01-28 09:04:06 -08:00
Darren Austin
650b240634
Fix a bug with duplicate keys being used in the ReorderableListView. (#74842) 2021-01-27 21:39:06 -08:00
Kate Lovett
164671e2b1
Remove deprecated BinaryMessages (#73750) 2021-01-27 21:34:04 -08:00
Greg Spencer
c05f623c6b
Remove FocusTraversalGroups from the final sorted list of descendants. (#74758)
This fixes a subtle bug in the focus traversal that would leave unfocusable FocusTraversalGroup nodes in the list of sorted nodes to be traversed, causing an assert to fire if you nested a FocusTraversalGroup in another one and made its children unfocusable.
2021-01-27 15:58:08 -08:00
Sam Rawlins
8043d6723e
Remove "unnecessary" imports. (#74821) 2021-01-27 15:09:04 -08:00
Pedro Massango
a2ce206695
expose clipBehavior (#74046) 2021-01-27 14:54:46 -08:00
Phil Quitslund
4fa250f3f7
title format tweaks (#74747) 2021-01-27 14:54:05 -08:00
Alexandre Ardhuin
d546e1d311
fix for upcoming lint use_named_constants (#74788) 2021-01-27 20:20:44 +01:00
Shi-Hao Hong
c6a428d500
[State Restoration] CupertinoModalPopupRoute (#74805)
* Expose CupertinoModalPopupRoute for state restoration

* Add state restoration test, expose kCupertinoModalBarrierColor
2021-01-28 03:00:01 +08:00
Hans Muller
2d9fad09ba
Added ButtonStyle.fixedSize (#74773) 2021-01-27 10:54:06 -08:00
Mouad Debbar
7f4bb1eea9
Use the shortcuts temporary solution only on web (#74768) 2021-01-27 10:49:04 -08:00
Jonah Williams
7c0300a358
[flutter] throw more specific error messages if a lerp'd type does not conform to Tween API (#74684) 2021-01-27 09:20:56 -08:00
Darren Austin
7db172b24d
Added a ReorderableListView.builder constructor (#74697)
Added constructor parameters to the ReorderableList that were missing from ScrollView. Also replace a lot of doc comments with macro templates to reduce duplication.
2021-01-26 17:18:40 -08:00
Todd Volkert
5584fce36e
Switch global key registry to be owned by the build owner. (#74701)
This gets away from the extra static map for global key registrations
in favor of the data structures being instance properties of the build
owner. This still allows for semantically-equivalent static access through
the binding (which in turn gives access to the build owner).

This also adds a `BuildOwner.globalKeyCount` getter to get the count
of global keys associated with widgets currently in the tree.
2021-01-26 14:28:58 -08:00
xster
00143388a2
default CupertinoSliverNavigationBar's stretch to false (#74669) 2021-01-26 09:24:04 -08:00
Greg Spencer
2eeeba9c09
Remove nullOk from Actions.invoke, add Actions.maybeInvoke (#74680)
This removes the nullOk parameter from Actions.invoke, and adds an Actions.maybeInvoke function. The difference is that invoke will now always (in debug mode) throw if an enabled action isn't found, and maybeInvoke will return null if an enabled action isn't found. The invoke function can still return null as the result of the invocation, though, so I purposely didn't change the return value to Object from Object?.
2021-01-25 20:52:30 -08:00
Daniel
fbc3683b18
ChoiceChip's default "selected" style in dark mode theme is unreadable #49984 (#74610) 2021-01-25 20:04:03 -08:00
Yurii Cherniavskyi
6d9e3c3fa9
Expose insetPadding and clipBehavior in SimpleDialog (#73571) 2021-01-25 19:44:05 -08:00
Mouad Debbar
47f8e956d3
Swap the Shortcuts widget with its child in TextField (#74683) 2021-01-25 19:19:04 -08:00
Alexandre Ardhuin
bd69fa5935
use predefined constants (#74627) 2021-01-25 18:59:05 -08:00
Darren Austin
efe8a397a8
Added some tests and comments from Shi-Hao for the ReorderableLists. (#74689) 2021-01-25 18:54:10 -08:00
xubaolin
1e7f3955ce
fix a RenderBox.size access exception (#74402) 2021-01-25 18:54:05 -08:00
Greg Spencer
8f10a262c9
Remove vestigal nullOk parameter from Localizations.localeOf (#74657)
This removes the nullOk parameter on the Localizations.localeOf method. This was already changed to have a maybeLocaleOf method, but the nullOk parameter wasn't removed because some third party tests failed. Those have been updated, so this can go in now.
2021-01-25 15:04:47 -08:00
Michael Goderbauer
b400534dc7
remove some stray nullOK mentions from docs (#74661) 2021-01-25 11:34:04 -08:00
YeungKC
e623d93d2b
Fix dropdown menu overscroll (#73654) 2021-01-25 10:49:04 -08:00
Chinmoy
76d411433f
Added padding property to NavigationRail items (#69404) 2021-01-25 10:44:05 -08:00
Kenzie Schmoll
c89d649847
Add connectedVmServiceUri service extension and set from flutter_tools (#74534)
* Add connectedVmServiceUri service extension and set from flutter_tools
2021-01-25 10:40:14 -08:00
Darren Austin
8529e5a05c
New Reorderable list widgets (#74299)
Introduced new widget/ReorderableList and widget/SliverReorderableList widgets.
2021-01-22 21:44:13 -08:00
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