5133 Commits

Author SHA1 Message Date
Alexander Dahlberg
4dba7d839b
Fixed leak and removed no-shuffle tag in widgets/clip_test.dart (#88824) 2021-09-08 15:22:06 -07:00
J-P Nurmi
40b33e238b
Autocomplete: support asynchronous options (#88193) 2021-09-08 15:17:04 -07:00
Zachary Anderson
71a4c6f8e8
Revert "Fix computeMinIntrinsicHeight in _RenderDecoration (#87404)" (#89667)
This reverts commit 5cf62e84451c23a8aa8c65d56b001913453f39d7.
2021-09-08 11:26:02 -07:00
Zachary Anderson
b0816e6364
Revert "Implement operator = and hashcode for CupertinoThemeData (#89604)" (#89670)
This reverts commit bf8e1270a7688a3520626d8a8c9bc8ed96673897.
2021-09-08 10:54:31 -07:00
jacobsimionato
bf8e1270a7
Implement operator = and hashcode for CupertinoThemeData (#89604)
This fixes #71222

* Implement operator = and hashcode for CupertinoThemeData and CupertinoTextThemeData which CupertinoThemeData depends on.
* Add basic tests for CupertinoThemeData equality and hashcode.

I also manually tested the case mentioned in #71222, e.g. equality of ThemeData(cupertinoOverrideTheme: someTheme)

Co-authored-by: Jacob Simionato <jsimionato@google.com>
2021-09-08 13:45:04 -04:00
Yash Johri
36c51cb6d7
[CheckboxListTile, SwitchListTile, RadioListTile] Adds visualDensity, focusNode and enableFeedback (#89353)
This PR adds visualDensity, focusNode and enableFeedback to:

- CheckboxListTile
- SwitchListTile
- RadioListTile
2021-09-08 09:43:22 -07:00
Anis Alibegić
a753d09cc9
Fixed several typos (#89485) 2021-09-07 14:56:04 -07:00
Justin McCandless
2382b4c046
Text Editing Model Refactor (#86736)
Simplifying and refactoring parts of RenderEditable. Functionality is the same.
2021-09-07 14:12:38 -07:00
LongCatIsLooong
33755f203d
[autofill] opt-out instead of opt-in (#86312) 2021-09-05 13:16:01 -07:00
Kate Lovett
e92f7cd8fe
Update StretchingOverscrollIndicator for reversed scrollables (#89242)
* Update overscroll indicator for reverse

* Review feedback

* Review feedback
2021-09-03 16:29:43 -05:00
Varun Kamani
3bf1bde917
typo fixed in Wrap.debugFillProperties for crossAxisAlignment (#89436) 2021-09-03 10:40:09 -07:00
smitsk
5cf62e8445
Fix computeMinIntrinsicHeight in _RenderDecoration (#87404) 2021-09-02 15:26:02 -07:00
Craig Labenz
fb56442de7
fix: Preserve state in horizontal stepper (#84993) 2021-09-02 14:36:16 -07:00
Rami
069699ebde
Add ability to customize drawer shape and color as well as theme drawer properties (#89237) 2021-09-01 16:41:53 -04:00
chunhtai
2202556ff5
Avoid pointer collision in navigator_test (#89315) 2021-09-01 12:18:50 -07:00
LongCatIsLooong
a0b560f4d5
Workaround rounding erros in cupertino nav bar transition (#88935) 2021-08-31 14:01:08 -07:00
creativecreatorormaybenot
13885e7d87
Fix text field naming (#89117) 2021-08-31 10:51:02 -07:00
Alexander Dahlberg
8ef4d2ac49
Fixed leak and removed no-shuffle tag in test/widgets/scroll_aware_image_provider_test.dart (#88900) 2021-08-30 17:46:02 -07:00
Alexander Dahlberg
6784ebc57b
Fixed leak and removed no-shuffle tag on test/widgets/platform_view_test.dart (#88877) 2021-08-30 17:41:06 -07:00
Alexander Dahlberg
cf9c8240fc
Fixed leak and removed no-shuffle tag in widgets/debug_test.dart (#88857) 2021-08-30 17:16:04 -07:00
Alexander Dahlberg
5b41ee558b
Fixed leak and removed no-shuffle tag in binding_test.dart (#88784) 2021-08-30 17:11:02 -07:00
Kate Lovett
616f9bcffa
Add tag support for executing reduced test sets (#86821) 2021-08-30 15:41:02 -07:00
Alexander Dahlberg
4e1711135d
Fixed leak and removed no-shuffle tag in test/widgets/routes_test.dart (#88881) 2021-08-30 15:26:04 -07:00
chunhtai
2f4c6fb3de
Reland "Fixes listview shrinkwrap and hidden semantics node gets updated incorrectly. (#88814)" (#89184) 2021-08-30 13:01:03 -07:00
Rami
dd9169ec71
Allow for custom alignment for Dialogs (#88984) 2021-08-30 13:54:54 -04:00
Tong Mu
4771605c39
Fix KeyboardManager's synthesization (#88967)
This PR fixes KeyboardManager's key event synthesization logic, which were dispatching events with incorrect keys, making subsequent key events crash the app.
2021-08-29 17:26:49 -07:00
Craig Labenz
3a1b04952b
fix: refactor Stepper.controlsBuilder to use ControlsDetails (#88538)
* changed controlsBuilder signature

combined all parameters into ControlsDetails class

* sample fixes

* updates to docstrings

* switched to positional argument for stepper.controlsbuilder

* Merge branch 'master' into stepper-builder-fix
2021-08-27 11:26:29 -07:00
xubaolin
a05b1fffe7
TextField.autofocus should skip the element that never layout (#87109) 2021-08-26 18:11:04 -07:00
Justin McCandless
91ef92d2b2
hasStrings support for eliminating clipboard notifications (#87678)
Use the hasStrings clipboard method when possible instead of reading the contents of the clipboard.
2021-08-26 17:10:18 -07:00
Justin McCandless
b2adffa9fe
Keyboard text selection and wordwrap (#85653)
Keyboard shortcuts near wordwrapped lines could be buggy before this fix.
2021-08-26 17:08:52 -07:00
nt4f04uNd
8863296d66
Add missing parameters to DecorationImage (#88453)
* Add missing parameters to DecorationImage

* tune docs

* fix test
2021-08-26 13:28:49 -07:00
Kate Lovett
426121c4f1
Add no-shuffle tag (#88989) 2021-08-26 14:19:59 -05:00
chunhtai
74ac7c476c
Fix empty textspan with spell out crashes (#88738) 2021-08-25 23:01:03 -07:00
Mohammad Ghalayini
bb278d1da2
[new feature] Add support for a RawScrollbar.shape (#85652) 2021-08-25 17:21:02 -07:00
nt4f04uNd
59f3f23a72
Fix precision error in NestedScrollView (#87801) 2021-08-25 15:46:03 -07:00
Darren Austin
a1cd3f45e0
Updated some skip test comments that were missed in the audit. (#88893) 2021-08-25 11:49:04 -07:00
chunhtai
527d868391
Revert "Fixes listview shrinkwrap and hidden semantics node gets updated incorrectly. (#88814)" (#88886)
This reverts commit 0e9665e4ef59fca7d5c2eeed178cdd98d4a09fa0.
2021-08-25 09:42:43 -07:00
xubaolin
72289ec8cf
Fix the showBottomSheet controller leaking (#87775)
* Fix the showBottomSheet controller leaking

* codereview feedback
2021-08-25 11:35:46 +08:00
chunhtai
0e9665e4ef
Fixes listview shrinkwrap and hidden semantics node gets updated incorrectly. (#88814) 2021-08-24 18:09:04 -07:00
creativecreatorormaybenot
38186c8971
Add WidgetsFlutterBinding Assertion to setMethodCallHandler (#88819) 2021-08-24 17:04:03 -07:00
Deepak Penaganti
6dc18ef74e
Blurstyle for boxshadow v2 (#88697) 2021-08-23 22:39:04 -07:00
chunhtai
b9908f6b86
Fixes renderparagraph crashes due to truncated semantics node (#88190)
* Fixes renderparagraph crashes due to truncated semantics node

* add period
2021-08-23 16:03:49 -07:00
chunhtai
93a1484ae0
Add a hook for scroll position to notify scrolling context when dimen… (#87076) 2021-08-23 15:39:18 -07:00
Alexander Dahlberg
02bb8a4355
Fixed leak and removed no-shuffle tag in platform_channel_test.dart (#88432)
Co-authored-by: Alexander Dahlberg <alexander.dahlberg@sigma.se>

This PR fixed the problem that prevented platform_channel_test.dart being shuffled. Part of #85160.

A couple of tests sets up callbacks through setMethodCallHandler() that gets unresolved and breaks other tests.

This PR clears those callbacks by passing null to setMethodCallHandler.
2021-08-23 15:32:44 -07:00
Alexander Dahlberg
86d7ec4548
Fixed leak and removed no-shuffle tag in ticker_test.dart (#88426) 2021-08-23 15:22:06 -07:00
Alexander Dahlberg
04de2ed3d5
Fixed leak and removed no-shuffle tag on scaffold_test.dart (#88375) 2021-08-23 15:17:05 -07:00
Abhishek Ghaskata
49bf933b59
add margin to vertical stepper (#86067)
* add marging to vertical stepper

* Remove tralling spaces

* Update docstring
2021-08-23 12:02:02 -07:00
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
Alexander Dahlberg
83b9e99cfb
Fixed leak and removed no-shuffle tag in scheduler_test.dart (#88423)
Co-authored-by: Alexander Dahlberg <alexander.dahlberg@sigma.se>

This PR fixed the problem that has prevented scheduler_test.dart being shuffled. Part of #85160.

One test schedules a task, but events are locked so the scheduled task does not execute and this messes up other tests.
This PR adds a teardown that executes the scheduled task after the test, when events are unlocked.
2021-08-23 10:03:21 -07:00
Alexander Dahlberg
2ee0234471
Fixed leak and removed no-shuffle tag in image_stream_test.dart (#88376)
Fixes test/painting/image_stream_test.dart of #85160

The problem: The timeDilation was changed to 2.0 but not restored. The changed timeDilation carried on to following tests which messed up some of them when using test ordering seed 456.

The Fix: Restore timeDilation to 1.0 at the end of test.
2021-08-23 10:03:03 -07:00