Commit Graph

794 Commits

Author SHA1 Message Date
Pierre-Louis
74cfc3db67 Use curly_braces_in_flow_control_structures for non-flutter packages (#104629)
* Use `curly_braces_in_flow_control_structures` for `packages/flutter_driver`

* Use `curly_braces_in_flow_control_structures` for `packages/flutter_goldens`

* Use `curly_braces_in_flow_control_structures` for `packages/flutter_goldens_client`

* Use `curly_braces_in_flow_control_structures` for `packages/flutter_localizations`

* Use `curly_braces_in_flow_control_structures` for `packages/flutter_test`

* Use `curly_braces_in_flow_control_structures` for `packages/flutter_web_plugins`

* fix comments

* Use `curly_braces_in_flow_control_structures` for `packages/integration_test`

* fix indentation
2022-05-25 20:01:11 +02:00
Casey Hillers
da105b2b24 Revert "[framework] inline AbstractNode into RenderObject" (#104257) 2022-05-20 11:43:11 -07:00
Tong Mu
23bc3d64eb [Mouse] Remove all pointers at the end of tests (#102694) 2022-05-19 17:48:10 -07:00
Jonah Williams
24bd28f696 [framework] inline AbstractNode into RenderObject (#103832) 2022-05-19 14:28:09 -07:00
xubaolin
b20e27e77e Does not replace the root layer unnecessarily (#101748) 2022-05-05 18:44:10 -07:00
Callum Moffat
b5321d182a Reland "Fix position of CupertinoContextMenu within Transform.scale" (#102943)
* Fix position of CupertinoContextMenu within Transform.scale (#97896)

* Fix after rebase
2022-05-04 11:13:21 +02:00
Phil Quitslund
20f029e3bc [devicelab, flutter_test, ...] rename local functions with _s (#102833) 2022-05-03 10:29:06 -07:00
Darren Austin
7965ee25dd Revert "Fix position of CupertinoContextMenu within Transform.scale (#97896)" (#102938)
This reverts commit 6ddb99e98f.
2022-05-02 13:40:12 -07:00
Callum Moffat
6ddb99e98f Fix position of CupertinoContextMenu within Transform.scale (#97896) 2022-05-02 21:56:09 +02:00
Alexandre Ardhuin
07f1c20474 add missing trailing commas in list/set/map literals (#102585) 2022-04-27 09:15:35 +02:00
Sai Sandeep Mutyala
7b580fd5df Enable TestDefaultBinaryMessenger to intercept all platform channels. (#100049) 2022-04-25 10:44:07 -07:00
Daniel Cardona Rojas
a3a9a23e46 Add matcher to find at least a given number of widgets (#102081) (#102342) 2022-04-22 15:24:10 -07:00
chunhtai
2ebc7bee9c Adds tooltip to semantics node (#87684) 2022-04-21 12:14:09 -07:00
8rine23
9313fb8e28 The sample code used within the comments in textContaining is wrong (#100860) 2022-04-20 14:36:14 -07:00
chunhtai
796df06c32 Add API sample code to AccessibilityGuideline (#102161) 2022-04-19 14:34:08 -07:00
Callum Moffat
30a501801a Support trackpad gestures in framework (#89944)
* Implement trackpad gestures in framework

* Touch and Pan/Zoom pointers have separate IDs now

* Handle trackpad pointer device type

* Respect supportedDevices for pan/zoom events

* Update after rebase

* Fix check failures

* Avoid error with very short drags

* Address feedback

* Refactor drag event handler

* Address more feedback

* Add some missing punctuation
2022-04-12 19:47:01 -07:00
Michael Goderbauer
a01424773e Enable unnecessary_import (#101600) 2022-04-08 12:56:45 -07:00
Greg Spencer
efe76a5373 Update key examples to use Focus widgets instead of RawKeyboardListener (#101537)
This updates the examples for PhysicalKeyboardKey and LogicalKeyboardKey to use Focus widgets that handle the keys instead of using RawKeyboardListener, since that usually leads people down the wrong path. Updated the See Also and added tests as well. Also exposed the `physicalKey` attribute for `tester.sendKeyEvent`.
2022-04-08 12:05:41 -07:00
matasb-google
120b3deb18 Improve A11Y guidelines/tests for flutter (#100267)
* Incorrect size comparison
* Code cleanup/formatting
* Additional tests
2022-04-06 10:59:37 +02:00
Michael Goderbauer
3e406c6781 Prepare packages (minus tools,framework) for use_super_parameters (#100510) 2022-03-30 15:31:59 -07:00
Brian Quinlan
f6c4c3df19 Remove unnecessary ignore: override_on_non_overriding_member (#99793) 2022-03-16 19:10:17 -07:00
Harsh Bhikadia
fece72cac7 docs(flutter_test): fix mention of non-existing matchesSemanticsNode (#99659) 2022-03-16 18:55:18 -07:00
moko256
13bf7515f4 Web: treat modifier key without location (#98460) 2022-03-15 19:50:10 -07:00
Valentin Marquis
4f4c7816c3 Fix/text containing finder work with rich texts (#99682) 2022-03-13 23:35:07 -07:00
Viren Khatri
671aa9e95e complete migration of flutter repo to Object.hash* (#99505) 2022-03-04 12:56:21 -08:00
Michael Goderbauer
852bfe2a73 Use BindingBase.platformDispatcher over BindingBase.window where possible (#99443) 2022-03-04 11:11:07 -08:00
LongCatIsLooong
81464ff642 Reland "[EditableText] honor the "brieflyShowPassword" system setting #97769 " (#98150) 2022-02-11 02:30:14 -08:00
Brian Quinlan
76855aa893 Add keyLog and connectionFactory to HttpClient implementations (#98045) 2022-02-11 00:35:16 -08:00
Callum Moffat
3f9c0e74f2 PointerDeviceKind forwards-compatibility in flutter_test (#98202) 2022-02-10 19:50:27 -08:00
godofredoc
3bdea6bb92 Revert "[EditableText] honor the "brieflyShowPassword" system setting (#97769)" (#98089)
This reverts commit 63f48d1ff8.
2022-02-08 20:11:08 -08:00
LongCatIsLooong
63f48d1ff8 [EditableText] honor the "brieflyShowPassword" system setting (#97769) 2022-02-08 17:50:20 -08:00
Jonah Williams
4f975cbe2f [framework] inline casts on Element.widget getter to improve web performance (#97822) 2022-02-08 13:05:21 -08:00
Ian Hickson
ab89ce285f Clean up the bindings APIs. (#89451) 2022-02-03 14:55:15 -08:00
Jami Couch
af89a25e5b Re-land "Support Scribble Handwriting" (#96615) (#97437) 2022-02-01 09:50:07 -08:00
Justin McCandless
40c4da5cb8 Revert "Re-land "Support Scribble Handwriting" (#96615) (#96881)" (#97405)
This reverts commit c54ce01575.
2022-01-27 16:11:02 -08:00
Jami Couch
c54ce01575 Re-land "Support Scribble Handwriting" (#96615) (#96881) 2022-01-27 15:10:21 -08:00
Lasse R.H. Nielsen
b8fd21b04e Adds CommonFinders.bySubtype<T extends Widget>() finder. (#91415) 2022-01-25 12:35:14 -08:00
Michael Goderbauer
5684b9f69e Enable no_leading_underscores_for_local_identifiers (#96422) 2022-01-21 14:43:59 -08:00
Alberto
ee6a693cde chore(flutter_test): updated 'matchesGoldenFile' documentation (#96194) 2022-01-20 15:25:20 -08:00
LongCatIsLooong
9c23106711 Revert "Support Scribble Handwriting" (#96615) 2022-01-13 12:00:19 -08:00
Michael Goderbauer
40a2689b9c enable unnecessary_late (#96417) 2022-01-12 21:10:19 -08:00
Michael Goderbauer
5ac9714066 Enable no_leading_underscores_for_library_prefixes (#96420) 2022-01-11 17:35:13 -08:00
Jami Couch
9490917408 Support Scribble Handwriting (#75472) 2022-01-11 11:00:12 -08:00
Andrei Diaconu
a35e7aaed9 Add display features to MediaQuery (#92906) 2021-12-21 10:04:19 -08:00
Jia Hao
22dd0f42ef [flutter_test] Fix incorrect missed budget count (#95003) 2021-12-10 18:44:11 -08:00
Michael Goderbauer
5a862ebecd Replace dynamic with Object? in SystemChannels (#94629) 2021-12-03 15:34:04 -08:00
chunhtai
049ea73c4d MinimumTextContrastGuideline should exclude disabled component (#94489) 2021-12-01 20:19:02 -08:00
Nick Abalov
544527caa5 Skip links in MinimumTapTargetGuideline. (#93869) 2021-11-30 17:34:05 -08:00
nt4f04uNd
3a18e6ee42 Fix reassemble in LiveTestWidgetsFlutterBinding (#92217) 2021-11-22 02:01:00 -08:00
Ian Hickson
299d484903 Enable more lints (#91642) 2021-10-14 22:03:03 -07:00