Commit Graph

43 Commits

Author SHA1 Message Date
Michael Goderbauer
81bc54be75
Enable use_colored_box lint (#117370) 2022-12-20 14:09:55 -08:00
Michael Goderbauer
10a7c9ba22
Unify analysis options (#108462) 2022-07-28 09:07:49 -07:00
Alexandre Ardhuin
504a2ca6b0
fix upcomming diagnostics after updates on use_build_context_synchronously (#106057) 2022-06-15 20:46:06 +00:00
Alexandre Ardhuin
d40ee2149c
remove unnecessary .toString() (#103226) 2022-05-06 16:04:13 -07:00
Michael Goderbauer
ca2d60e8e2
Prepare more of dev for use_super_parameters (#101073) 2022-03-30 14:05:05 -07:00
Tomasz Gucio
e4351ff053
Enable use_if_null_to_convert_nulls_to_bools lint (#98753) 2022-02-22 14:39:20 -08:00
Ian Hickson
66dd2add7e
Add some more new lints (#91659) 2021-10-12 11:33:04 -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 5fd259be24.
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
Abhishek Ghaskata
efdbe40330
Refactor android_view example (#83160) 2021-05-24 10:24:03 -07:00
Alexandre Ardhuin
157bc92d4a
end of sort_child_properties_last (#82457) 2021-05-13 13:39:04 -07:00
Michael Goderbauer
b8a2456737
Enable library_private_types_in_public_api lint (#81578) 2021-05-10 16:26:16 -07:00
Abhishek Ghaskata
ecbea9a9d5
Update android_views to null safety (#80557) 2021-04-19 15:14:04 -07:00
Michael Goderbauer
ea8e61618a
Enable null_closures (#77095) 2021-03-02 15:25:31 -08:00
Michael Goderbauer
0f568298d8
enable use_key_in_widget_constructors lint (#77032) 2021-03-02 10:14:02 -08:00
Sam Rawlins
006638839c
Remove "unnecessary" imports. (#74383) 2021-01-25 19:04:05 -08:00
Kate Lovett
cd60da784f
Migrate Scaffold SnackBars in the framework to ScaffoldMessenger (#67946) 2020-10-14 13:12:03 -07:00
Hans Muller
8798bc43af
Updated old button references in dev/integration_tests/android_views (#63214)
* Updated old button references in dev/integration_tests/android_views

* Empty commit to force all tests to rerun
2020-08-08 18:20:16 -07:00
Emmanuel Garcia
93cfcc2166
Account for MotionEvent instance mutations (#61417) 2020-07-14 15:56:02 -07:00
Emmanuel Garcia
158256b5a7
Migrate Android views e2e to the new embedding (#61205) 2020-07-13 14:06:03 -07:00
Kaushik Iska
ff6b7809bc
Re-land gesture detection for hybrid platform views (#61013) 2020-07-07 17:49:54 -07:00
Kaushik Iska
8ed8b06ac5
Revert "Add embedderId to PointerEvent (#60930)" (#61010)
This reverts commit 2ab5099436.
2020-07-07 12:12:20 -07:00
Kaushik Iska
2ab5099436
Add embedderId to PointerEvent (#60930)
This field is used to look-up the event in the platform
that resuted a given `PointerEvent`. This is currently only
used on Android, where the `embedderId` is set to be the
`motionEventId` for a given `MotionEvent`.

Roll engine to d0d6a4c2362d2ed478006bb3b01c34c0e96033b4
2020-07-07 10:59:12 -07:00
Amir Hardon
a0379f45d6
Test touch for Android windows added by platform views (#55068) 2020-04-17 17:21:28 -07:00
Chris Yang
7042481dae
fix test (#54403) 2020-04-10 10:30:04 -07:00
Jonah Williams
4b98c0565a
Revert "fix and re-land "re-enable android_view_test (#54214)" (#54312)" (#54387)
This reverts commit 13052b10e4.
2020-04-09 12:41:00 -07:00
Chris Yang
13052b10e4
fix and re-land "re-enable android_view_test (#54214)" (#54312) 2020-04-09 11:03:02 -07:00
Amir Hardon
80bc3f4a3c
Test creation of Android AlertDialogs with a platform view context (#53980) 2020-04-06 12:36:01 -07:00
chunhtai
9fdd4d2e0c
Renamed test class to avoid conflict with the navigator page api. (#53279) 2020-03-25 12:11:01 -07:00
Alexandre Ardhuin
4f9b6cf017
enable lint prefer_final_in_for_each (#47724) 2020-01-07 16:32:04 +01:00
Alexandre Ardhuin
ec1a015045
implicit-casts:false in dev (#45787) 2019-12-05 22:34:06 +01: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
Ian Hickson
1ce4a4f36f
Make sure all our .dart files have license headers (#44467) 2019-11-08 16:53:21 -08:00
Chris Yang
6ef4e822f7
Refactoring the Android_views tests app to prepare for adding the iOS platform view tests (#36200)
This PR created a main page for platform view tests in the android views testing app. The main page none contains a list of the links to the pages being tested. It puts the android view motion events tests to a sub page.
The PR also added iOS related files to get ready for adding the iOS platform views tests.
2019-07-17 08:21:09 -07:00
Dan Field
382704ca95
Use precisionErrorTolerance (#32499) 2019-05-10 13:28:19 -07:00
Alexandre Ardhuin
387f885481
Add missing trailing commas (#28673)
* add trailing commas on list/map/parameters

* add trailing commas on Invocation with nb of arg>1

* add commas for widget containing widgets

* add trailing commas if instantiation contains trailing comma

* revert bad change
2019-03-01 08:17:55 +01:00
Jonah Williams
83af6f48d6
Adds a type parameter to invokeMethod (and additional utility methods) (#26303) 2019-01-10 13:21:03 -08:00
Stanislav Baranov
ba4cf054bd
Propagate positions of secondary pointers in UP events on Android (#23797) 2018-11-05 12:43:00 -08:00
Stanislav Baranov
c7b10a2d80
Propagate pointer size from Android MotionEvent. (#23536) 2018-10-26 11:48:00 -07:00
Alexandre Ardhuin
f62afdcf57
add missing type parameter on methods (#22096) 2018-10-01 21:29:08 +02:00
Alexandre Ardhuin
d927c93310
Unnecessary new (#20138)
* enable lint unnecessary_new

* fix tests

* fix tests

* fix tests
2018-09-12 08:29:29 +02:00
Amir Hardon
72ef4485e9 Integration test for embeded Android Views touch support.
The test places an embedded Android view at the top left, and verifies
that motion events that get to FlutterView are equivalent to the
synthesized motion events that gets to the embedded view.

See the README.md for more high level details.
2018-08-20 14:29:26 -07:00