chunhtai
58081821ab
Editable text should call onSelectionChanged when selection changes a… ( #72011 )
2020-12-11 13:53:04 -08:00
Kate Lovett
770a9b25d9
Updated Interactive Scrollbars ( #71664 )
2020-12-11 13:48:05 -08:00
Todd Volkert
a1070e4f4c
Revert "Remove duplicate code in Element.rebuild() and BuildOwner.buildScope() ( #71940 )" ( #72120 )
...
This reverts commit c8f07aad563d9460eac0074be0a24a38158239af.
2020-12-10 23:24:21 -08:00
Michael Goderbauer
8df56056b4
Revert "Constrain width/hight when asking child for intrinsics ( #71880 )" ( #72102 )
...
This reverts commit ceca634e9800dc50c7680ecb346f8a4e442de5c5.
2020-12-10 17:03:56 -08:00
Alex Li
135a8c22b1
Introduce MaxLengthEnforcement ( #68086 )
2020-12-10 07:31:59 +08:00
gabber235
635dfc3e4f
Draggable: onDragUpdate callback ( #68185 )
2020-12-09 14:58:04 -08:00
Michael Goderbauer
ceca634e98
Constrain width/hight when asking child for intrinsics ( #71880 )
2020-12-09 14:42:19 -08:00
Todd Volkert
c8f07aad56
Remove duplicate code in Element.rebuild() and BuildOwner.buildScope() ( #71940 )
...
Element.rebuild() and BuildOwner.buildScope() both had code to
manager the `BuildOwner._debugCurrentBuildTarget` state variable.
Unfortunately, only one of the two places was using a try/finally
to ensure that the state variable was restored even if an error
was thrown.
This creates a private method to unify the copy/pasted code.
2020-12-08 17:58:28 -08:00
Todd Volkert
7ec3f6bdf9
Make FocusManager configurable in BuildOwner ( #71872 )
2020-12-08 12:42:39 -08:00
houyushan
368c12b55e
Add RichText debugFillProperties TestCase ( #70819 )
2020-12-04 11:18:03 -08:00
LongCatIsLooong
746056a539
Skip reformatting and calling onChanged for composing region only changes. ( #70883 )
2020-12-03 08:43:05 -08:00
Dan Field
a2aa2ed02d
Revert "Fix excessive rebuilds of DSS ( #69724 )" ( #71459 )
...
This reverts commit 16dce765775da51416f119a21fc88a8de9ee5fd3.
2020-12-02 11:42:38 -08:00
tgucio
0aec2c3d0f
Restart EditableText cursor timer when it moves ( #70787 )
2020-12-01 11:38:04 -08:00
Jonah Williams
e5000f6cea
[flutter_tools] Remove usage of --precompiled flag for web tests ( #70977 )
2020-12-01 09:54:01 -08:00
Justin McCandless
3217906efb
Handle setting TextEditingController text to null ( #68638 )
2020-12-01 09:48:07 -08:00
Andrey Kabylin
e118e1a623
fix #24469 and #67354 ( #69668 )
2020-11-25 09:28:03 -08:00
Christopher Fujino
96d330a204
Revert "Revert "Implement dryLayout for RenderAnimatedSize ( #71097 )" ( #71180 )" ( #71185 )
...
This reverts commit 358f9b0ee66b93d72f6d3e1b809b0e30611d40d7.
2020-11-24 16:29:39 -08:00
Christopher Fujino
358f9b0ee6
Revert "Implement dryLayout for RenderAnimatedSize ( #71097 )" ( #71180 )
...
This reverts commit b18f1b81fe09a1f2bea39eaac9cc709e1ac600cf.
2020-11-24 15:46:58 -08:00
Michael Goderbauer
b18f1b81fe
Implement dryLayout for RenderAnimatedSize ( #71097 )
2020-11-24 12:28:04 -08:00
Michael Goderbauer
7a3a29e71f
Fixes Intrinsics for RenderParagraph and RenderWrap ( #70656 )
2020-11-20 17:24:58 -08:00
Kate Lovett
63e328f7f0
Fix pointer scroll for nested NeverScrollables ( #70953 )
2020-11-20 17:18:04 -08:00
Greg Spencer
de884f1afe
Remove the nullOk parameter from Navigator.of and add Navigator.maybeOf ( #70726 )
...
Adds Navigator.maybeOf to replace calling Navigator.of(context, nullOk: true), and removes the nullOk parameter. Also changes Navigator.of to return a non-nullable value, and removes many (120!) instances of the ! operator, reducing the possible places where a null dereference could occur.
2020-11-20 09:10:46 -08:00
Kate Lovett
f4a0511e8b
Re-land 'Default Keyboard ScrollActions with PrimaryScrollController' ( #70893 )
2020-11-19 17:48:04 -08:00
Jonah Williams
cfb63356c3
[flutter_tools] use frontend_server for web test compilation ( #70714 )
2020-11-18 14:55:26 -08:00
Chinmoy
830bdfa301
added none property in a DismissDirection ( #68987 )
2020-11-18 13:28:03 -08:00
xubaolin
543d3cfa57
Add a [valid] property of [MouseTrackerAnnotation] indicates the annotation states. ( #69866 )
2020-11-17 08:03:02 -08:00
Jim Graham
e803b13f01
Revert "Re-land 'Default Keyboard ScrollActions with PrimaryScrollController' ( #70401 )" ( #70675 )
...
This reverts commit 9b56241eef3a81bfe4e1ff72cc453a7693861944.
2020-11-16 22:55:59 -08:00
Kate Lovett
9b56241eef
Re-land 'Default Keyboard ScrollActions with PrimaryScrollController' ( #70401 )
2020-11-16 14:47:04 -06:00
Ian Hickson
6cff33832e
More lints ( #70500 )
2020-11-16 11:07:37 -08:00
creativecreatorormaybenot
85f0aea87e
Add stackTrace to AsyncSnapshot ( #69507 )
2020-11-13 17:13:02 -08:00
Michael Goderbauer
b555b1a607
Enable test after engine fix ( #70469 )
2020-11-13 10:13:04 -08:00
Greg Spencer
b47126df6c
Allow propagation to ancestor actions if actions lower down are disabled ( #70404 )
...
Change the semantics of Actions.invoke so that if the action it finds is disabled, then it keeps looking for an ancestor Actions widgets that has a matching intent where the action is not disabled.
2020-11-12 17:15:54 -08:00
Michael Goderbauer
c7f092515c
Fix return type of ContextAction.invoke ( #70397 )
2020-11-12 13:54:03 -08:00
Todd Volkert
f8d2f58b52
Ignore DismissIntent when barrier is not dismissible ( #70156 )
2020-11-12 11:45:32 -08:00
Greg Spencer
86f9ab511e
Revert usages of the binding's platformDispatcher to use window instead ( #70319 )
...
This reverts usages of the binding's platformDispatcher to use window again temporarily, because there isn't a TestPlatformDispatcher yet, and so some tests were failing because they mocked the TestWindow to return certain things (locales) that were returning the real values instead of the test values.
Once I've created a TestPlatformDispatcher to allow fake data to be passed to it, we can go back to using the platformDispatcher in all of these places
2020-11-12 11:17:00 -08:00
Michael Goderbauer
b5a4d08962
Intrinsic Width fixes for RenderParagraph ( #70236 )
2020-11-12 10:19:03 -08:00
Zachary Anderson
3fce16c329
Revert "Default Keyboard ScrollActions with PrimaryScrollController ( #69795 )" ( #70391 )
...
This reverts commit 1f0df54553bab852026a2801ce3921a2ba493fab.
2020-11-12 09:49:12 -08:00
J-P Nurmi
153f3d23c3
Fix Editable(Text) shortcuts to respect read-only on desktop ( #69891 )
2020-11-11 15:34:05 -08:00
Kate Lovett
1f0df54553
Default Keyboard ScrollActions with PrimaryScrollController ( #69795 )
2020-11-11 15:29:05 -08:00
Greg Spencer
bbc0161669
Remove references to Window, and switch usages to PlatformDispatcher or SingletonFlutterWindow ( #69617 )
...
* Remove references to dart:ui.Window, and point usages to PlatformDispatcher or SingletonFlutterWindow, as appropriate
* remove new test platform dispatchers
* Amend documentation
2020-11-09 15:26:29 -08:00
chunhtai
0bc0cc6192
Fix crash when widgetspan does not produce a semantics node in render… ( #69919 )
...
* Fix crash when widgetspan does not produce a semantics node in render paragraph
* fix comments
* fixed corner case, added test, refactored semantics widget
* addressing comment
2020-11-09 11:31:56 -08:00
Dan Field
16dce76577
Fix excessive rebuilds of DSS ( #69724 )
2020-11-06 12:09:02 -08:00
Yegor
496efca12f
choose higher-res images on low-DPR screens ( #69799 )
2020-11-05 10:10:53 -08:00
LongCatIsLooong
b26970b143
Cancel drag or hold when scrolling is disabled. ( #69732 )
2020-11-04 16:14:04 -08:00
chunhtai
6688e63f68
Improve backbuttondispatcher ( #68735 )
...
* Improve backbuttondispatcher
* update
* update
* fix analyzer
* addressing comments
* make takeprioirty recursive by default
* fix comment
* addressing comment
2020-11-04 16:00:28 -08:00
Michael Goderbauer
cee6d46b3d
Do not crash if RichText has recognizers without handlers ( #69793 )
2020-11-04 15:49:05 -08:00
Greg Spencer
872c9d7ba7
Add maybeLocaleOf to Localizations ( #68911 )
2020-11-02 18:43:02 -08:00
YeungKC
60a8b333b0
fix mouse wheel scroll miscontrol of ScrollPosition. ( #66039 )
2020-11-02 13:13:03 -08:00
Michael Goderbauer
0490fd75aa
Make Theme.of non-nullable ( #68922 )
2020-11-02 09:20:42 -08:00
Justin McCandless
22f3cd8a67
Rename AutocompleteCore to RawAutocomplete to match similar naming elsewhere in Flutter ( #69419 )
...
We are standardizing around the term Raw for lower level widgets.
2020-11-02 09:11:10 -08:00