6190 Commits

Author SHA1 Message Date
chunhtai
3a15841d94
reland "fix the widget span layout when text scale factor != 1" and h… (#60021) 2020-06-23 15:18:02 -07:00
Craig Edwards
159557eb6e
iOS mid-drag activity indicator (#58392) 2020-06-23 11:24:09 -07:00
chunhtai
4953cbce23
Fix the layout calculation in sliver list where the scroll offset cor… (#59888) 2020-06-23 11:18:01 -07:00
MH Johnson
1c1326ad81
add check for DefaultTextHeightBehavior in EditableText + tests (#59913) 2020-06-23 12:39:35 -04:00
Dan Field
e8fa87e303
Make upscaling images opt-in (#59856)
* Make upscaling images opt-in
2020-06-23 09:20:28 -07:00
Tonic Artos
65550d0f0c
New license page. (#57588)
This is a PR addressing #57226 - Proposal: New UI for Licenses Page.

This PR replaces the previous single panel license page with one that uses a master/detail flow (MDFlow) to display packages and their respective licenses.

The License Page API remains unchanged. The logic for processing the license data is kept largely the same. This PR changes how the licenses are displayed, by introducing a responsive UI using the master/detail UI pattern. For now I am calling it Master Detail Flow, or MDFlow.

MDFlow manifests as two layouts depending on the screen size. On small and medium displays, as determined by the breakpoints given by the Material Design Spec, MDFlow utilises a nested layout. On large displays, MDFlow uses a two panel (lateral) layout. MDFlow is implemented in this PR using a Navigator for the nested layout, and a Stack for the lateral layout. The master and detail views are built using builders. For the interactive component, detail pages are requested from the master view using a proxy obtained by a widget lookup on the build context; MasterDetailFlow.of(context).
2020-06-23 09:19:45 -07:00
renyou
15a28159bc
Revert "[PageTransitionsBuilder] Fix 'ZoomPageTransition' built more than once (#58686)" (#59992)
This reverts commit fe15d1e793cb509f0d616caf1eab19477262b804.
2020-06-23 04:52:58 -07:00
Robert Ancell
8c3b826ebd
Support GTK keycodes (#59961) 2020-06-23 15:19:57 +12:00
Justin McCandless
c105708426
RTL caret position (#60009) 2020-06-22 18:58:03 -07:00
Tong Mu
9470b9e2ce
Add material state mouse cursor to TextField (#59363) 2020-06-22 18:38:03 -07:00
Darren Austin
cc36608f14
Keyboard navigation for the Material Date Picker grid (#59586) 2020-06-22 17:08:03 -07:00
rami-a
e676024d37
[Material] Redesign Time Picker (#59191) 2020-06-22 17:03:04 -07:00
renyou
eaf9ff738a
Revert "Implement Comparable<TimeOfDay> (#59317)" (#59981)
This reverts commit 2933e895e52117bf55b17023767dd6cebf500d86.
2020-06-22 11:53:54 -07:00
renyou
a88e2c8742
Revert "fix the widget span layout when text scale factor != 1 (#59711)" (#59986)
This reverts commit 747fe345f1b0609ea0c9aa32c1719372d0ccc661.
2020-06-22 11:53:14 -07:00
Jonah Williams
04ce9d288c
Revert "Fix outline button solid path when BorderSize.width is used (#51581)" (#60000)
This reverts commit 599566177736e6b30af922a8f06e8a260acafc36.
2020-06-22 10:13:37 -07:00
Ferhat
5995661777
Fix outline button solid path when BorderSize.width is used (#51581) 2020-06-19 16:15:58 -07:00
Justin McCandless
b9af6551b2
Label unnecessarily ellided (#59807) 2020-06-19 13:53:05 -07:00
Andrew Chen
2933e895e5
Implement Comparable<TimeOfDay> (#59317) 2020-06-19 12:18:03 -07:00
Christopher Fujino
5cfb16b193
Re-land "Deprecate WhitelistingTextInputFormatter and BlacklistingTextInputFormatter (#59120)" (#59876)
This relands #59120, which was reverted in #59870.
2020-06-19 12:03:38 -07:00
Christopher Fujino
0d7ff7a9e7
Revert "Deprecate WhitelistingTextInputFormatter and BlacklistingTextInputFormatter (#59120)" (#59870)
This reverts commit 8665e13801fe6b53a0e67866d2ee6cd5ef2083f4.
2020-06-19 10:52:52 -07:00
Ian Hickson
8665e13801
Deprecate WhitelistingTextInputFormatter and BlacklistingTextInputFormatter (#59120) 2020-06-18 18:08:01 -07:00
Justin McCandless
339f0363a6
Reland modernize selection menu appearance (#59617) 2020-06-18 16:33:03 -07:00
Michael Goderbauer
32be39bf16
Fix doc for DecoratedBox (#59791) 2020-06-18 13:58:02 -07:00
Darren Austin
06de567811
Dismiss modal routes with a keyboard shortcut (#59310) 2020-06-18 11:53:02 -07:00
Jose Alba
c6f6de6d1b
Chips text scaling (#57745) 2020-06-18 11:48:03 -07:00
Jonah Williams
e1f4cfb4f4
[flutter_tools] add toggle b and service extension to change platform brightness (#59571)
A frequent request from the last Flutter developer survey was for an easier method of testing light/dark mode changes. Currently, a user needs to manually change the theme settings or adjust phone settings to see the difference. Instead we should add a toggle from the CLI, and eventually devtools/Intellij/Vscode that allows developers to override the current setting.

Fixes #59495

Adds flutter.ext.brightnessOverride service protocol which either queries the current platform brightness, or overrides it to a new value. This accepts either Brightness.light or Brightness.dark as a value.

Adds a CLI toggle b which allows the setting to be toggled manually.

Requires an update to the MediaQuery, to conditionally use a debug override when not in release mode
2020-06-18 10:32:43 -07:00
chunhtai
747fe345f1
fix the widget span layout when text scale factor != 1 (#59711) 2020-06-18 08:28:03 -07:00
Per Classon
dbc6dca5d0
Set upper limit on text scaling for AppBar.title (#58094) 2020-06-18 08:13:02 -07:00
liyuqian
42e02d60d3
Reland non-breaking "Add clipBehavior to widgets with clipRect #55977" (#59364)
* Revert "Revert "Add clipBehavior to widgets with clipRect (#55977)" (#58344)"

This reverts commit 1d395c5e187370f2838bb043d3b438029b484bfc.

* Add missed Overflow
2020-06-17 10:57:40 -07:00
Alexandre Ardhuin
1fe677a3af
update _isolates_io.dart for better nnbd migration (#59666) 2020-06-17 18:58:21 +02:00
renyou
a99d146ba9
Revert "Characters Package (#53381)" (#59677)
This reverts commit e0ed12c73a3df00b72af6e5657d35035a76c90db.
2020-06-17 08:39:34 -07:00
Ayush Bherwani
37cb7b7b48
[ExpansionPanelList] adds dividerColor property (#59641) 2020-06-17 01:58:01 -07:00
Alex Vincent
fe15d1e793
[PageTransitionsBuilder] Fix 'ZoomPageTransition' built more than once (#58686) 2020-06-16 23:58:01 -07:00
Justin McCandless
e0ed12c73a
Characters Package (#53381) 2020-06-16 16:53:04 -07:00
Greg Spencer
c5527dc8c4
Remove dependency on package:collection by moving mergeSort into foundation/collections.dart (#59521)
This removes a dependency from Flutter (package:collection) by copying the implementation of mergeSort into Flutter's foundation/collections.dart.

Also, removed a reference to UnmodifiableSetView from the shortcuts code by just returning a copy instead.
2020-06-16 14:41:05 -07:00
Kenzie Schmoll
5b147520bf
Cancel tooltip show timer when state is deactivated (#57244) 2020-06-16 13:14:43 -07:00
MH Johnson
7042be8816
Re-land "[Widgets] Add DefaultTextHeightBehavior inherited widget." (#59350) 2020-06-16 12:50:02 -07:00
renyou
deec88bb97
Revert "Build routes even less. (#58202)" (#59503) 2020-06-16 10:40:04 -07:00
Ayush Bherwani
dde1249937
[MergeableMaterial] adds dividerColor property (#59481) 2020-06-16 10:35:03 -07:00
Justin McCandless
b429ec1e8f
InteractiveViewer mouse scale bug (#59478) 2020-06-16 10:30:06 -07:00
Michael Joseph Rosenthal
42666df9b7
Add link to ListTile replacement guide (#59474) 2020-06-16 10:25:06 -07:00
Gary Qian
1b62b805ca
Handle backspace edgecase in trailing whitespace formatter. (#59379) 2020-06-16 10:20:04 -07:00
Darren Austin
e66a5cf55d
Removed an unused static local key from ScrollAction. (#59436) 2020-06-16 09:25:10 -07:00
Greg Spencer
2163731c99
Remove DiagnosticableMixin in favor of Diagnosticable (#58635) 2020-06-16 09:25:04 -07:00
Gary Qian
a41855fa95
Docs 'that that' fix (#50236) 2020-06-16 09:20:03 -07:00
Michael Goderbauer
584fd5f913
Word substitutions (#59484)
* Word substitutions

* ++
2020-06-16 09:15:43 -07:00
Zachary Anderson
f8a4008e41
Revert "Modernize selection menu appearance (#59115)" (#59561)
This reverts commit b3c237ce5465a8befbf0814d36b7013e34c2abe5.
2020-06-16 08:41:22 -07:00
Justin McCandless
b2a2cb7e03
Add instructions for updating a localized string (#59273)
* Add instructions for updating a localized string

* gem_missing_localizations does nothing when I test this out, seems to not be required

* Explain generation of new locale strings
2020-06-15 09:45:25 -07:00
Jason Simmons
959f5dca83
Revert "Prevent WhitelistingTextInputFormatter to return a empty string if the current value does not satisfy the formatter (#57264)" (#59221) 2020-06-15 09:45:04 -07:00
Ian Hickson
f7f019aa94
More useful error messages when you use Stack without a textDirection. (#59360) 2020-06-15 09:40:10 -07:00