Gary Roumanis
3f62915383
Update ClampingScrollSimulation to better match Android ( #77497 )
2021-03-12 16:23:05 -08:00
Michael Goderbauer
d637b1874f
non-breaking changes for prefer_mixin lint ( #77837 )
2021-03-11 19:50:03 -08:00
Tong Mu
fa06b34024
Refactor: Move mouse cursor classes to "services" package ( #77751 )
2021-03-11 19:45:04 -08:00
Greg Spencer
95d3ac703f
Fix sample lint warnings ( #77980 )
...
Landing this on red to fix the build.
TBR=@justinmc
2021-03-11 17:22:14 -08:00
Greg Spencer
a8d820a46e
Update samples to use repo analysis options, Fix sample templates and a ton of analyzer issues ( #77868 )
2021-03-11 16:45:03 -08:00
Justin McCandless
541bff4058
Text Editing Movement Keys via Shortcuts ( #75032 )
...
Text editing shortcuts involving the arrow keys are no longer handled by RenderEditable's RawKeyboardListener, they use the new Shortcuts setup. First PR in a plan to port all text editing keyboard handling to shortcuts.
2021-03-11 15:52:04 -08:00
Kate Lovett
38fd5af5f1
Exposing ScrollBehaviors for app-wide settings ( #76739 )
2021-03-11 15:35:07 -08:00
Justin McCandless
11c3c83c84
Spelling standardization: implementer ( #77861 )
2021-03-11 09:15:03 -08:00
Konstantin Scheglov
3e7b208512
Fix UNNECESSARY_TYPE_CHECK_TRUE hints. ( #77753 )
2021-03-10 17:55:02 -08:00
Zomtir
5baebb88ff
[Docs] RouteObserver<PageRoute> cannot subscribe ModalRoute ( #77606 )
2021-03-10 17:50:04 -08:00
chunhtai
f91ed2a30d
Adds set text semantics action to render editable ( #77024 )
...
* Adds set text semantics action to render editable
* addressing comments
* re-enable test
* fix test
* fix more test
* fix bad merge
* addressing comment
* update dynamic to Object?
2021-03-10 15:45:35 -08:00
Kate Lovett
e02621b997
Fix scrollbar hit testing based on pointer device kind ( #77755 )
2021-03-10 12:45:03 -08:00
Viral Kachhadiya
99c75a7300
added final keyword ( #77689 )
2021-03-09 13:40:02 -08:00
LongCatIsLooong
fb2cffb07b
[Hero] toHero flightShuttleBuilder overrides fromHero flightShuttleBuilder ( #77733 )
2021-03-09 12:40:03 -08:00
Bishwajeet Parhi
3569536e84
fixed the bug ( #77612 )
2021-03-09 09:49:03 -08:00
Ian Hickson
e5322acc77
Change some dynamics to Object? and document slot better ( #77026 )
2021-03-05 18:39:04 -08:00
Michael Goderbauer
cb867bbedc
Enable unnecessary_await_in_return lint ( #77434 )
2021-03-05 18:38:15 -08:00
Michael Goderbauer
807bb29888
enable prefer_function_declarations_over_variables lint ( #77398 )
2021-03-05 18:29:04 -08:00
Michael Goderbauer
7b251f5f37
Enable use_function_type_syntax_for_parameters lint ( #77163 )
2021-03-04 08:59:17 -08:00
Ian Wilkinson
a7af92db6a
Declare DragTarget onMove event as taking a generic parameter ( #76842 )
2021-03-02 11:59:04 -08:00
chunhtai
b0d4d44853
Reland "fixes TextInputFormatter gets wrong old value of a selection" ( #76653 )
2021-03-02 11:54:02 -08:00
Pedro Massango
524bc4a5cd
add keyboardDismissBehavior into SingleChildScrollView ( #76312 )
2021-03-02 08:29:05 -08:00
Michael Goderbauer
fc99e7c0d7
Enable missing_whitespace_between_adjacent_strings ( #77027 )
2021-03-01 18:30:17 -08:00
Kate Lovett
ee54a72a1d
Remove typematcher again ( #76331 )
2021-02-26 15:01:03 -08:00
LongCatIsLooong
ac4d5099d8
Reland #74722 ( #75604 )
2021-02-24 11:01:03 -08:00
chunhtai
d75cfa584c
Hide selection handles from semantics ( #76641 )
...
* Hide selection handles from semantics
* update comment
2021-02-23 15:56:39 -08:00
Justin McCandless
1794e81f61
Keep the selection after 'Copy' pressed on iOS. ( #76327 )
2021-02-23 15:56:04 -08:00
chunhtai
b5139515c1
Revert "fixes TextInputFormatter gets wrong old value of a selection ( #75541 )" ( #76627 )
...
This reverts commit a46139a2cef8144444a3e13a3970e9a267304b91.
2021-02-23 11:25:01 -08:00
nt4f04uNd
9b6d267ea3
adding freeze parameter to Texture and TextureBox ( #75738 )
2021-02-22 10:21:03 -08:00
chunhtai
a46139a2ce
fixes TextInputFormatter gets wrong old value of a selection ( #75541 )
2021-02-19 11:16:02 -08:00
creativecreatorormaybenot
c51fba9736
Improve lifecycle docs ( #76021 )
2021-02-18 14:31:03 -08:00
Fitz
7233d9639c
Add missing widget of the week video links to API docs ( #76251 )
2021-02-18 11:26:04 -08:00
Kate Lovett
1bf6683399
Scrollbar updates for native Android behavior ( #76173 )
2021-02-18 11:11:04 -08:00
Ian Hickson
341984237e
Const constructor audit. ( #76162 )
2021-02-17 19:46:04 -08:00
Abhishek Ghaskata
424a122e56
Refactor Hero example ( #75895 )
2021-02-17 14:46:05 -08:00
Alexandre Ardhuin
b54d72cf66
deprecated consistency ( #75903 )
2021-02-17 10:21:02 -08:00
Jonah Williams
820fb0bf2b
[flutter_tools] stop using throttled print for service extensions ( #76022 )
2021-02-16 12:11:57 -08:00
Todd Volkert
835c7fab45
Fix FocusManager constructor ( #75894 )
...
The FocusManager constructor was registering global event handlers
on the shared RawKeyboard instance and the global pointer router.
This posed a few problems: (1) there was no way to unregister these
handlers, and (2) instantiating a second FocusManager would overwrite
the existing focus manager's RawKeyboard handler. This was manifesting
in unexpected ways, such as the fact that constructing a second
BuildOwner (for a parallel tree, for instance) was obliterating the
event handler for the main BuildOwner's focus manager, thus messing
with focus.
This change separates those global event registrations into a
dedicated method, registerGlobalHandlers(), and overrides dispose()
to properly unregister those handlers.
2021-02-12 17:19:20 -08:00
Greg Spencer
266fb87c36
Update the Focus widget to update the node's onKey handler when the widget updates ( #74909 )
...
This updates the onKey handler of the FocusNode that the Focus widget manages when the widget is updated and the handler has changed. Also added a setter for onKey to the FocusNode.
2021-02-12 14:46:39 -08:00
Todd Volkert
1b44133322
Move ensureVisualUpdate call to call sites in WidgetsBinding.attachRootWidget() ( #75811 )
...
This call is unnecessary and wasteful for callers that are building
parallel widget trees, since for those use cases, the caller is
generally going to build the tree synchronously immediately.
2021-02-10 16:03:48 -08:00
Todd Volkert
235927d588
Allow callers to pump a root widget with no child ( #75576 )
...
This can be useful for offscreen widget trees, where the caller
wants to completely tear down the tree (properly clean up) when
they're done with the tree, to ensure they're not leaving behind
any event listeners that could be registered by child elements
(which could lead to memory leaks and unexpected behavior).
2021-02-10 16:03:27 -08:00
Pedro Massango
a4ae59ba89
Fix "Support configurable hit test behavior on Draggable and DragTarget" ( #74047 )
2021-02-10 16:01:06 -08:00
xubaolin
16af4aa7eb
Fix the NestedScrollView exception when rebuilding during scheduleWarmUpFrame ( #75308 )
2021-02-10 01:01:04 -08:00
xubaolin
6ad9f784b3
Add more checks when use Navigator 2.0 ( #75624 )
2021-02-10 00:56:02 -08:00
Kate Lovett
3d2e65f713
Revert "Remove deprecated Typematcher ( #73751 )" ( #75734 )
...
This reverts commit fe003535902ec93917c75d9b9d5bf6661181a1df.
2021-02-09 15:56:13 -06:00
Kate Lovett
fe00353590
Remove deprecated Typematcher ( #73751 )
2021-02-09 13:01:02 -08:00
chunhtai
a65ce5bae7
ignore sliver underflow if the last children is no longer at the prev… ( #71864 )
2021-02-09 09:36:07 -08:00
Michael Goderbauer
68c96f100e
Revert "Fix/ValueListenableBuilder rebuilds ( #72707 )" ( #75669 )
...
This reverts commit 69882d9647e03ec4a9189ee1b0351abae508e938.
2021-02-08 16:14:15 -08:00
Abhishek Ghaskata
fd5668bb1d
Adding hero example ( #74415 )
2021-02-04 10:36:03 -08:00
Ian Hickson
824042f9b2
Catch cases in tests where people try to tap on widgets that aren't reachable. ( #74798 )
2021-02-03 16:11:02 -08:00