Kate Lovett
3aed0b671f
Fix scrollbar dragging into overscroll when not allowed ( #90634 )
2021-10-05 15:33:03 -07:00
Ian Hickson
2bab6514b0
Enable avoid_implementing_value_types lint ( #91078 )
2021-10-04 13:48:04 -07:00
xubaolin
905ac63e34
Fix some scrollbar track and border painting issues ( #90311 )
2021-10-04 08:13:04 -07:00
LongCatIsLooong
0e72f99237
Restart input connection after EditableText.onSubmitted ( #84307 )
2021-10-01 14:23:05 -07:00
Ian Hickson
989f864497
Enable avoid_setters_without_getters ( #91067 )
2021-10-01 00:58:05 -07:00
Greg Spencer
d94c18d2b9
Add external focus node constructor to Focus widget ( #90843 )
...
I've added a Focus.withExternalFocusNode constructor to the Focus widget (and the FocusScope widget) that makes it explicit that the widget's attributes won't affect the settings of the given focus node.
This is to help address #83023 , which is a snag in the API that people run into occasionally.
This should help make it explicit when you want the widget attributes to take precedence, and when you don't.
2021-09-30 16:46:38 -07:00
Justin McCandless
cf09d99372
Handle invalid selection in TextEditingActionTarget ( #90826 )
...
Prevents bugs related to invalid (-1,-1) selection in keyboard shortcuts
2021-09-29 13:14:10 -07:00
nt4f04uNd
96a63cfe48
use FadeTransition instead of Opacity where applicable ( #75110 )
2021-09-29 12:18:03 -07:00
LongCatIsLooong
7684f8b7c5
Reland "Make FilteringTextInputFormatter's filtering Selection/Composing Region agnostic" #89327 ( #90211 )
2021-09-28 16:48:06 -07:00
Greg Spencer
ab2b0851a2
Add smoke tests for all the examples, fix 17 broken examples. ( #89021 )
...
This adds a smoke test for every single API example. It also fixes 17 tests that had bugs in them, or were otherwise broken, and even fixes one actual bug in the framework, and one limitation in the framework.
The bug in the framework is that NetworkImage's _loadAsync method had await response.drain<List<int>>();, but if the response is null, it will throw a cryptic exception saying that Null can't be assigned to List<int>. The fix was just to use await response.drain<void>(); instead.
The limitation is that RelativePositionedTransition takes an Animation<Rect> rect parameter, and if you want to use a RectTween with it, the value emitted there is Rect?, and one of the examples was just casting from Animation<Rect> to Animation<Rect?>, which is invalid, so I modified RelativePositionedTransition to take a Rect? and just use Rect.zero if the rect is null.
2021-09-28 09:32:06 -07:00
Kate Lovett
610ca324c3
Update scrollbar for hover events ( #90636 )
2021-09-24 14:13:05 -07:00
Kate Lovett
ca1dbb949e
Fix stretch recede edge case ( #90629 )
2021-09-23 15:33:05 -07:00
Casey Rogers
ec2e041e3d
Make DraggableScrollableSheet Reflect Parameter Updates ( #90354 )
2021-09-22 14:58:05 -07:00
nt4f04uNd
6fabdd049a
Make structuredErrors to not mess up with onError ( #88253 )
2021-09-22 14:53:04 -07:00
Gary Qian
375c72681d
Add clipBeheavior support to TextFields ( #90423 )
2021-09-22 13:43:58 -07:00
nt4f04uNd
49332da76a
Fix Dismissible confirmDismiss errors ( #88672 )
...
* Fix Dismissible confirmDismiss errors
* +
* refactor test
* fix rebase
* remove new line
2021-09-20 13:50:32 -07:00
Casey Rogers
76b3c6758c
Allow Developers to Stop Navigator From Requesting Focus ( #90097 )
2021-09-20 13:13:03 -07:00
Kate Lovett
d50ec2469f
Fix overflow in stretching overscroll ( #90215 )
2021-09-20 12:23:05 -07:00
Pierre-Louis
8d5d37d6df
Exclude semantics is semanticslabel is present ( #90136 )
2021-09-20 12:18:05 -07:00
Greg Spencer
19722fb96c
Clean up dismissable_test to be less fragile ( #89870 )
...
This cleans up the dismissable_test to be less fragile, and make it harder to forget to reset things between runs.
I eliminated a bunch of globals that were susceptible to being missed and passed them in to buildTest instead, and removed some values that were always the same (itemExtent).
2021-09-20 09:07:28 -07:00
Renzo Olivares
4b330ddbed
Create DeltaTextInputClient ( #90205 )
...
* Create DeltaTextInputClient
* Remove old tests as updateEditingValueWithDeltas is no longer implemented
* fix analyzer
* Update docs
* Make example more general
* Update docs
* Add assert to check that TextInputClient is a DeltaTextInputClient
* Update assert
* More docs
* update
* Clean up docs
* updates
* Update docs
* updates
* Fix test
* add test
* updates
* remove logs
* fix tests
* Address reviewer comments
* Add text_input_utils.dart
* Address reviewer comments
2021-09-16 17:29:58 -07:00
Yegor
d672d20f69
fix draggable_scrollable_sheet_test.dart ( #90204 )
2021-09-16 13:51:33 -07:00
Renzo Olivares
bf66cc2e08
Framework can receive TextEditingDeltas from engine ( #88477 )
2021-09-15 18:27:04 -07:00
Casey Rogers
e7df5ec5d0
Add Snapping Behavior to DraggableScrollableSheet ( #84394 )
2021-09-15 15:30:35 -05:00
Ian Hickson
2420718389
Remove our extra timeout logic. ( #89952 )
2021-09-15 09:42:05 -07:00
Pierre-Louis
b129fffa23
Add semanticsLabel to SelectableText ( #89369 )
...
* add `semanticsLabel` to `SelectableText`
* remove unused vars
* Squashed commit of the following:
commit 3e687a9facfba751667529dd10194403c85e3d2f
Author: engine-flutter-autoroll <engine-flutter-autoroll@skia.org>
Date: Tue Sep 14 17:42:05 2021 -0400
Roll Plugins from 4a98e239b131 to b85edebe7134 (2 revisions) (#90083 )
commit ad936b4e4b778dde40b6adfea265b5f97f76f62d
Author: Christopher Fujino <christopherfujino@gmail.com>
Date: Tue Sep 14 14:39:17 2021 -0700
[flutter_conductor] Support initial stable release version (#89775 )
commit ff5dd54c6e2314e358d2e75d9c2c4fe24ed466d7
Author: Ian Hickson <ian@hixie.ch>
Date: Tue Sep 14 13:02:04 2021 -0700
Mention the ToS on our README (#89765 )
commit 8587b609a6b2cd253c9718c61fdebf89a2039169
Author: Kate Lovett <katelovett@google.com>
Date: Tue Sep 14 14:53:33 2021 -0500
Update local gold api (#90072 )
commit 7d368dcf0c00b45fef5b02c5cccb8aa5306234ba
Author: Justin McCandless <jmccandless@google.com>
Date: Tue Sep 14 12:39:19 2021 -0700
InteractiveViewer with a child of zero size (#90012 )
Asserts that the InteractiveViewer child can't have zero size.
commit 2b4ef184b7217bdc34e5b382398bc9077f748150
Author: Akira Aratani <developer.a.akira@gmail.com>
Date: Wed Sep 15 03:30:50 2021 +0900
Fix document of the switch. (#89641 )
commit a2cd16ba826cb8708f5b2ded9c99c6aa200551d9
Author: Christopher Fujino <christopherfujino@gmail.com>
Date: Tue Sep 14 11:22:02 2021 -0700
use test logger, which does not allow colors (#90010 )
commit 0f0613c0aee159ff2089b4ce788744f8cbe46c3a
Author: Varun Sharma <varunsh@stepsecurity.io>
Date: Tue Sep 14 11:17:03 2021 -0700
Add specific permissions to .github/workflows/lock.yaml (#89820 )
commit 2866f79c89e9540595727481b51c783dc65e8bbe
Author: Jason Simmons <jason-simmons@users.noreply.github.com>
Date: Tue Sep 14 10:46:35 2021 -0700
Initialize all bindings before starting the text_editing_action_target test suite (#90067 )
Fixes https://github.com/flutter/flutter/issues/90057
commit b889915997df2ad9f4329b7caba1eee6b2c53b31
Author: Michael Thomsen <mit@google.com>
Date: Tue Sep 14 14:08:36 2021 +0200
Change min Dart SDK constraint to track actual version (#88743 )
commit 3b7adb989fc59fd6aa906ee642d749b26f1a4b29
Author: godofredoc <54371434+godofredoc@users.noreply.github.com>
Date: Mon Sep 13 21:32:04 2021 -0700
Lock only issues. (#90023 )
commit 528f77dc99e43f3eb20698cb683c25705725ced0
Author: Dan Field <dnfield@google.com>
Date: Mon Sep 13 19:10:15 2021 -0700
Opacity fix (#90017 )
* Make sure Opacity widgets/layers do not drop the offset
commit 2470f63ebba59ebdd9a7127a7c51c22471f3b1d7
Author: engine-flutter-autoroll <engine-flutter-autoroll@skia.org>
Date: Mon Sep 13 22:07:02 2021 -0400
4a98e239b [flutter_plugin_tools] Make no unit tests fatal for iOS/macOS (flutter/plugins#4341 ) (#90016 )
commit a01e4733df822f641fb017f3d6d4c56de7427f5d
Author: stuartmorgan <stuartmorgan@google.com>
Date: Mon Sep 13 20:57:05 2021 -0400
Re-enable plugin analysis test (#89856 )
commit cdad35f2d87f2684d6b651d8db17e938d3570d8a
Author: Aneesh Rao <sidrao2006@gmail.com>
Date: Tue Sep 14 05:17:04 2021 +0530
Fix path in example (#84707 )
commit 576aab08334e9f7989b32620cdc6b58d31162111
Author: Christopher Fujino <christopherfujino@gmail.com>
Date: Mon Sep 13 15:47:03 2021 -0700
add analysis_options.yaml to dev/conductor (#90005 )
commit fad5e4cf892bcf65ad3f1cde092cfb9671c3de99
Author: Jason Simmons <jason-simmons@users.noreply.github.com>
Date: Mon Sep 13 13:37:07 2021 -0700
Remove a redundant test case in the flutter_tools create_test (#89872 )
commit 738430cad787543bd815beb256acf29161771d92
Author: Darren Austin <darrenaustin@google.com>
Date: Mon Sep 13 13:33:48 2021 -0700
Revert "Removed default page transitions for desktop and web platforms. (#82596 )" (#89997 )
This reverts commit 43e31977
commit 9db9256b38ea33641b7bc02b537501ccde3a9957
Author: Dan Field <dnfield@google.com>
Date: Mon Sep 13 13:15:19 2021 -0700
Revert "Make sure Opacity widgets/layers do not drop the offset (#89264 )" (#89999 )
This reverts commit 0d0f7a4fb065da5de8640f1d6757cd5b9bc5534b.
commit 00f78cf263066dedaa5cddfccb9e8c4d620abe13
Author: keyonghan <54558023+keyonghan@users.noreply.github.com>
Date: Mon Sep 13 13:04:01 2021 -0700
renew cirrus key (#89988 )
commit 826da7f82665c37a10dd3281e66dd14a205dc42d
Author: engine-flutter-autoroll <engine-flutter-autoroll@skia.org>
Date: Mon Sep 13 15:52:03 2021 -0400
cfc8a20a1 renew cirrus key (flutter/plugins#4340 ) (#89996 )
commit cd112e551c6a49434e30bd375e28144ab739c7a3
Author: Anna Gringauze <annagrin@google.com>
Date: Mon Sep 13 12:13:42 2021 -0700
Update all packages (#89797 )
2021-09-15 11:51:47 +02:00
Sam Rawlins
bcb5db7758
Remove "unnecessary" imports from packages/ ( #89795 )
2021-09-15 01:27:02 -07:00
Justin McCandless
7d368dcf0c
InteractiveViewer with a child of zero size ( #90012 )
...
Asserts that the InteractiveViewer child can't have zero size.
2021-09-14 12:39:19 -07:00
Jason Simmons
2866f79c89
Initialize all bindings before starting the text_editing_action_target test suite ( #90067 )
...
Fixes https://github.com/flutter/flutter/issues/90057
2021-09-14 12:46:35 -05:00
Dan Field
528f77dc99
Opacity fix ( #90017 )
...
* Make sure Opacity widgets/layers do not drop the offset
2021-09-13 19:10:15 -07:00
Darren Austin
738430cad7
Revert "Removed default page transitions for desktop and web platforms. ( #82596 )" ( #89997 )
...
This reverts commit 43e31977
2021-09-13 13:33:48 -07:00
Dan Field
9db9256b38
Revert "Make sure Opacity widgets/layers do not drop the offset ( #89264 )" ( #89999 )
...
This reverts commit 0d0f7a4fb065da5de8640f1d6757cd5b9bc5534b.
2021-09-13 13:15:19 -07:00
Dan Field
0d0f7a4fb0
Make sure Opacity widgets/layers do not drop the offset ( #89264 )
2021-09-12 21:17:23 -07:00
LongCatIsLooong
86c79a83a2
[TextPainter] Don't invalidate layout cache for paint only changes ( #89515 )
2021-09-11 13:27:02 -07:00
Kate Lovett
4ec75580fb
Revert clamping scroll simulation changes ( #89885 )
2021-09-10 16:02:02 -07:00
Jason Simmons
77c2705991
Restore the default value of scrollDirection after each test in dismissible_test ( #89861 )
...
See https://github.com/flutter/flutter/issues/85160
2021-09-10 09:45:51 -07:00
Alexander Dahlberg
ed92f1890e
Fixed leak and removed no-shuffle tag in dismissible_test.dart ( #88933 )
2021-09-09 17:42:05 -07:00
xubaolin
ba734ed63c
PageView resize from zero-size viewport should not lose state ( #65015 )
2021-09-09 17:37:04 -07:00
xubaolin
cec1457476
fix a DraggableScrollableSheet bug ( #89335 )
2021-09-08 17:17:06 -07:00
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
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
chunhtai
2202556ff5
Avoid pointer collision in navigator_test ( #89315 )
2021-09-01 12:18:50 -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