2090 Commits

Author SHA1 Message Date
Alexander Dahlberg
1a5692b722
Fixed leak and removed no-shuffle tag in widgets/app_overrides_test.dart (#88469)
This PR fixed the problem that has prevented app_overrides_test.dart being shuffled. Part of #85160.

This test is testing WidgetsApp.showPerformanceOverlayOverride and WidgetsApp.debugAllowBannerOverride.

The problem: There was a strong dependecy to the default ordering of the tests. The value of showPerformanceOverlayOverride or debugAllowBannerOverride was expected to be the value that was set in previous test.

The fix: Make the values be set to default values after each test:
WidgetsApp.showPerformanceOverlayOverride=false
WidgetsApp.debugAllowBannerOverride=true
Set the expected value at the start of the test, if the default value is not expected.
2021-08-23 10:03:49 -07:00
nt4f04uNd
b5932065fa
Ensure RawImage render object updates (#88369) 2021-08-20 15:03:37 -07:00
nt4f04uNd
17f0d2e5de
init (#88391) 2021-08-20 09:42:05 -07:00
Hans Muller
afe58fbab5
Revert "Reland "Android Q transition by default (#82670)" (#88409)" (#88482) 2021-08-18 20:22:04 -07:00
chunhtai
89d1b9e4c5
Makes PlatformInformationProvider aware of the browser default route … (#88122) 2021-08-18 13:37:02 -07:00
Alex Li
df399f9a8d
Reland "Android Q transition by default (#82670)" (#88409)
* Reland "Android Q transition by default (#82670)"

This reverts commit 4053b4b16cbec129f03cd7201ab1b8250bda72e8.

* Fix `overall_experience_test.dart` for flutter_tools
2021-08-18 09:11:27 -07:00
Jenn Magder
4053b4b16c
Revert "Android Q transition by default (#82670)" (#88394)
This reverts commit a1ae4feac518dbce2862760ff5ceb7f3992c8d43.
2021-08-17 17:48:52 -07:00
Alexandre Daigle
ddfaec19ad
Fix null check for content dimensions in page getter (#87824) 2021-08-17 15:57:06 -07:00
Alex Li
a1ae4feac5
Android Q transition by default (#82670) 2021-08-17 15:47:07 -07:00
Dan Field
c91a298249
Take DPR into account for image inversion (#88309) 2021-08-16 15:35:10 -07:00
Dan Field
a4f5a5871a
Avoid retaining routes when subscriptions are cleared (#88310) 2021-08-16 14:47:03 -07:00
xubaolin
a4b724d944
fix a scrollbar updating bug (#88152) 2021-08-16 12:17:02 -07:00
LongCatIsLooong
c49eba6c3f
[TextInput] minor fixes (#87973) 2021-08-16 12:12:04 -07:00
YeungKC
a40c5c29e6
Migration text selection manipulation. (#86986)
Consolidate duplicated cut/copy/paste/selectall code so it can be done via Actions in the future.
2021-08-16 10:38:49 -07:00
LongCatIsLooong
b3d12ebd77
Revert "[EditableText] call onSelectionChanged only when there're actual selection/cause changes (#87971)" (#88183) 2021-08-13 17:17:04 -07:00
zuvola
93d69544a1
Fix AnimatedCrossFade would focus on a hidden widget (#87618)
Moving the focus with the tab key on the external keyboard will move the focus to the widget that is hidden by AnimatedCrossFade.
2021-08-13 08:49:43 -07:00
LongCatIsLooong
6e224ee0e6
[EditableText] call onSelectionChanged only when there're actual selection/cause changes (#87971) 2021-08-12 17:27:03 -07:00
Justin McCandless
9e9ca69808
Home/End key support for Linux (#87294)
Support for more desktop keyboard keys/shortcuts.
2021-08-11 21:05:16 -07:00
Hans Muller
871386bbb4
Revert "Changing ElevatedButton.child to be non-nullable (#87901)" (#88071)
This reverts commit 724c0eb65cef6a66241f9f1500dc9ed53991d5be.
2021-08-11 17:29:29 -07:00
Kate Lovett
d8da091751
Android 12 overscroll stretch effect (#87839) 2021-08-11 16:36:53 -05:00
LongCatIsLooong
1ca0333ce1
Overridable action (#85743) 2021-08-10 15:32:07 -07:00
Viren Khatri
724c0eb65c
Changing ElevatedButton.child to be non-nullable (#87901) 2021-08-10 11:06:34 -07:00
Darren Austin
e2fb5cc318
Updated skipped tests for widgets directory. (#87879) 2021-08-09 15:05:44 -07:00
chunhtai
11a0284a28
Reland "update ScrollMetricsNotification (#87421)" (#87818)
* Reland "update ScrollMetricsNotification (#87421)"

This reverts commit 0f465e5b2a3ed2431321b490a614c3d15089854c.

* fix test
2021-08-09 13:36:57 -07:00
Jonah Williams
5792c7347c
Use Device specific gesture configuration for scroll views (#87604) 2021-08-09 10:50:02 -07:00
LongCatIsLooong
d3bdbed498
[EditableText] preserve selection/composition range on unfocus (#86796) 2021-08-06 17:45:02 -07:00
Kate Lovett
7bbcdc239b
Prevent Scrollbar axis flipping when there is an oriented scroll controller (#87698) 2021-08-05 13:10:06 -07:00
Kate Lovett
0f465e5b2a
Revert "update ScrollMetricsNotification (#87421)" (#87693)
This reverts commit 52bf9dbbd72ecc787474da223c32d2368a4ad49e.
2021-08-04 17:59:50 -05:00
chunhtai
c38feb3b33
Router replaces browser history entry if state changes (#83509) 2021-08-04 15:30:04 -07:00
LongCatIsLooong
0f4e1db7ed
[Focus] defer autofocus resolution to _applyFocusChange (#85562) 2021-08-04 12:30:02 -07:00
xubaolin
52bf9dbbd7
update ScrollMetricsNotification (#87421) 2021-08-02 21:40:04 -07:00
Angjie Li
22436cca0e
Revert "Avoid passive clipboard read on Android (#86791)" (#87375) 2021-08-02 14:40:04 -07:00
chunhtai
67cee63087
Add string attribute api to text span (#86667) 2021-07-30 15:49:04 -07:00
xubaolin
46f160d559
update the scrollbar (#82687) 2021-07-30 13:19:04 -07:00
Renzo Olivares
9c32e5a1d2
Add enableIMEPersonalizedLearning flag to TextField and TextFormField (#87002)
* Add requestPrivacy parameter to TextField

* remove logs

* No need to pass _Editable requestPrivacy for now

* Forgot from last commit

* Add requestPrivacy flag to text form field

* Update docs

* Add requestPrivacy to CupertinoTextField

* Add test to verify requestPrivacy flag is sent to engine properly

* update docs

* fix tests

* rename requestPrivacy to enableIMEPersonalizedLearning

* Update text_input.dart

* default to true

* Have diagnostic properties default to true for enableIMEPersonalizedLearning
2021-07-30 00:20:45 -07:00
Tong Mu
caf876cf40
Reland: Keyboard events (#87174) 2021-07-29 14:24:03 -07:00
Wyte Krongapiradee
221705b6e6
Avoid passive clipboard read on Android (#86791) 2021-07-28 20:44:02 -07:00
Taha Tesser
e89747abcb
fix numpadEnter default shortcut (#87019) 2021-07-28 14:49:05 -07:00
xubaolin
8a139c073d
Re-land"[new feature]introduce ScrollMetricsNotification" (#85499) 2021-07-28 12:09:05 -07:00
Tong Mu
2f4f170dd2
Revert "Keyboard events (#83752)" (#87171)
This reverts commit 5f792ba17088b356bf0d030844ab09fd7f2b812e.
2021-07-28 02:32:08 -07:00
Attila Szabó
ea1182effd
WIP - Reland "Override MediaQuery for WidgetsApp (#81295)" (#85298) 2021-07-27 11:19:03 -07:00
Greg Spencer
738ce43d97
Randomize tests, exclude tests that fail with randomization. (#86793)
* Randomize tests, exclude tests that fail with randomization.

* Disable some more tool tests
2021-07-26 23:40:49 -07:00
Mohammad Ghalayini
c4cf6f18cc
Expose minThumbLength, crossAxisMargin, and minOverscrollLength on RawScrollbar (#85338) 2021-07-26 15:38:05 -07:00
Tong Mu
5f792ba170
Keyboard events (#83752) 2021-07-26 12:28:05 -07:00
Kaushik Iska
aeaadc5691
Remove default expectation for UserTag (#86877)
See: https://github.com/flutter/engine/pull/27646#issuecomment-885035046
2021-07-23 12:28:05 -07:00
Renzo Olivares
5671a97f8c
Scale selection handles for rich text on iOS (#85789) 2021-07-22 16:46:07 -07:00
Devon Carew
b81165d259
refactor the widget rebuild service protocol event format (#86896)
refactor the widget rebuild service protocol event format
2021-07-22 14:55:18 -07:00
Jonah Williams
7f26dbe0d4
[flutter] remove elevation checker (#86837) 2021-07-21 21:51:06 -07:00
Casey Rogers
4ab29de67f
Cancel DraggableScrollableSheet ballistic animation if a new activity begins (#86614) 2021-07-20 16:05:33 -07:00
Arthas
376584289c
Add onPlatformViewCreated to HtmlElementView (#84095) 2021-07-20 14:29:04 -07:00