Pierre-Louis
2aa348b940
Use curly_braces_in_flow_control_structures for widgets ( #104609 )
...
* Use `curly_braces_in_flow_control_structures` for `widgets`
* fix comments
* fix comments
2022-05-26 09:48:09 +02:00
Alexandre Ardhuin
07f1c20474
add missing trailing commas in list/set/map literals ( #102585 )
2022-04-27 09:15:35 +02:00
Michael Goderbauer
51bcdb9407
super parameters for framework ( #100905 )
2022-04-13 22:38:40 -07:00
chunhtai
8f2aaa99ab
Reland "Allow unknown device kind to scroll scrollables ( #100800 )" ( #101301 )
...
This reverts commit baa45a1718e732d0df317766f879f3e7d1b8de2a.
2022-04-04 10:52:06 -07:00
chunhtai
baa45a1718
Revert "Allow unknown device kind to scroll scrollables ( #100800 )" ( #101129 )
...
This reverts commit 000f4d1590322cc229072a6e9616051cab074286.
2022-03-31 10:45:41 -07:00
chunhtai
000f4d1590
Allow unknown device kind to scroll scrollables ( #100800 )
2022-03-29 13:05:09 -07:00
Ian Hickson
61a0add286
Enable avoid_redundant_argument_values lint ( #91409 ) ( #91462 )
2021-10-08 09:25:14 -07:00
Zachary Anderson
b9d2177da0
Revert "Enable avoid_redundant_argument_values lint ( #91409 )" ( #91461 )
...
This reverts commit 5fd259be244244e14ff87fee9b6a721625f952cd.
2021-10-07 21:11:07 -07:00
Ian Hickson
5fd259be24
Enable avoid_redundant_argument_values lint ( #91409 )
2021-10-07 20:13:02 -07:00
Kate Lovett
4ec75580fb
Revert clamping scroll simulation changes ( #89885 )
2021-09-10 16:02:02 -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
Tong Mu
caf876cf40
Reland: Keyboard events ( #87174 )
2021-07-29 14:24:03 -07:00
Tong Mu
2f4f170dd2
Revert "Keyboard events ( #83752 )" ( #87171 )
...
This reverts commit 5f792ba17088b356bf0d030844ab09fd7f2b812e.
2021-07-28 02:32:08 -07:00
Tong Mu
5f792ba170
Keyboard events ( #83752 )
2021-07-26 12:28:05 -07:00
Jonah Williams
fff8ecfb94
[flutter] reject mouse drags by default in scrollables ( #81569 )
2021-05-03 16:54:02 -07:00
Alexandre Ardhuin
1a3af88ced
add missing trailing commas ( #81362 )
2021-04-28 10:54:05 -07:00
Trym Nilsen
ee921e6313
Apply carriedVelocity unless substantially different ( #79382 )
2021-04-02 14:44:03 -07:00
Kate Lovett
e40610d67e
Automatically applying Scrollbars on desktop platforms with configurable ScrollBehaviors ( #78588 )
2021-04-02 16:40:17 -05:00
Alexandre Ardhuin
8de7020a5f
remove unnecessary trailing commas ( #79562 )
2021-04-01 21:52:35 +02:00
Gary Roumanis
3f62915383
Update ClampingScrollSimulation to better match Android ( #77497 )
2021-03-12 16:23:05 -08:00
Michael Goderbauer
ed755fba5e
Enable avoid_unnecessary_containers lint ( #77294 )
2021-03-04 15:29:03 -08:00
Greg Spencer
c6ef4c75d9
Turn on sized_box_for_whitespace lint, fix instances. ( #77099 )
2021-03-03 17:29:02 -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
Alexandre Ardhuin
d546e1d311
fix for upcoming lint use_named_constants ( #74788 )
2021-01-27 20:20:44 +01:00
xubaolin
217cd102bb
fix an assertion causes by zero offset pointer scroll ( #73016 )
2021-01-14 13:59:03 -08:00
Kate Lovett
63e328f7f0
Fix pointer scroll for nested NeverScrollables ( #70953 )
2020-11-20 17:18:04 -08:00
Kate Lovett
f4a0511e8b
Re-land 'Default Keyboard ScrollActions with PrimaryScrollController' ( #70893 )
2020-11-19 17:48:04 -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
Zachary Anderson
3fce16c329
Revert "Default Keyboard ScrollActions with PrimaryScrollController ( #69795 )" ( #70391 )
...
This reverts commit 1f0df54553bab852026a2801ce3921a2ba493fab.
2020-11-12 09:49:12 -08:00
Kate Lovett
1f0df54553
Default Keyboard ScrollActions with PrimaryScrollController ( #69795 )
2020-11-11 15:29:05 -08:00
LongCatIsLooong
b26970b143
Cancel drag or hold when scrolling is disabled. ( #69732 )
2020-11-04 16:14:04 -08:00
YeungKC
60a8b333b0
fix mouse wheel scroll miscontrol of ScrollPosition. ( #66039 )
2020-11-02 13:13:03 -08:00
Shi-Hao Hong
9611130e3d
[NNBD] Migrate more widget tests to NNBD ( #68173 )
2020-10-15 17:52:05 -07:00
Jonah Williams
37ebe3d82a
Revert "prevent pageView scrolling when calling ensureVisible ( #67988 )" ( #68036 )
...
This reverts commit 62cf4dbf10a6bd5b01ab6687dedda2df7cdc9b35.
2020-10-13 10:52:23 -07:00
xubaolin
62cf4dbf10
prevent pageView scrolling when calling ensureVisible ( #67988 )
2020-10-12 23:12:02 -07:00
Dan Field
b6c56fdeaf
Add test for TabBarView ( #67799 )
2020-10-12 14:25:17 -07:00
Dan Field
25f44bb271
test ( #67021 )
2020-09-30 18:02:04 -07:00
Tong Mu
a48e14308e
Expose GestureBinding.handlePointerEvent, replacing dispatchEvent as the preferred way to dispatch events ( #64846 )
2020-09-15 22:17:06 -07:00
LongCatIsLooong
cea055ef00
Make Scrollable's free scroll initial velocity matches that of iOS ( #60501 )
2020-08-12 13:31:05 -07:00
Kate Lovett
debb3a5d28
Skip Audit - Widgets Library ( #60936 )
2020-07-08 19:26:03 -07:00
Alexandre Ardhuin
4d7525f05c
Opt out nnbd in packages/flutter ( #59186 )
...
* add language version 2.8 in packages/flutter
* enable non-nullable analyzer flag
2020-06-11 14:11:30 +02:00
Dan Field
8b2993337a
revert #48985 ( #49572 )
2020-01-27 14:36:02 -08:00
Dan Field
bcfc293ca9
recommendDeferredLoading ( #49319 )
2020-01-25 01:18:03 -08:00
Anthony
b67d5ec6e9
[a11y] Make sure RenderFractionalTranslation updates its semantics after the translation field is set ( #48985 )
2020-01-17 15:13:01 -08:00
Greg Spencer
f013b25b9c
Add TargetPlatform.macOS tests to the widgets library. ( #48997 )
2020-01-17 10:51:38 -08:00
Tong Mu
dbed575c01
Add test of scrolling competition ( #47492 )
2020-01-08 15:23:02 -08:00
Alexandre Ardhuin
dfbd585668
implicit-casts:false in flutter/test ( #46245 )
2019-12-16 15:03:02 -08:00
Greg Spencer
f7d1616173
Overridable default platform key bindings ( #45102 )
...
This adds actions and shortcuts arguments to WidgetsApp (and MaterialApp and CupertinoApp) to allow developers to override the default mappings on an application, and to allow for a more complex definition of the default mappings.
I've stopped using SelectAction here, in favor of using ActivateAction for all activations, but haven't removed it, to avoid a breaking change, and to allow a common base class for these types of actions. This is because some platforms use the same mapping (web) for both kinds of activations (both select and activate).
2019-12-04 16:07:01 -08:00
Ian Hickson
449f4a6673
License update ( #45373 )
...
* Update project.pbxproj files to say Flutter rather than Chromium
Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
* Update the copyright notice checker to require a standard notice on all files
* Update copyrights on Dart files. (This was a mechanical commit.)
* Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
Some were already marked "The Flutter Authors", not clear why. Their
dates have been normalized. Some were missing the blank line after the
license. Some were randomly different in trivial ways for no apparent
reason (e.g. missing the trailing period).
* Clean up the copyrights in non-Dart files. (Manual edits.)
Also, make sure templates don't have copyrights.
* Fix some more ORGANIZATIONNAMEs
2019-11-27 15:04:02 -08:00