10741 Commits

Author SHA1 Message Date
Devon Carew
b81165d259
refactor the widget rebuild service protocol event format (#86896)
refactor the widget rebuild service protocol event format
2021-07-22 14:55:18 -07:00
Jonah Williams
7f26dbe0d4
[flutter] remove elevation checker (#86837) 2021-07-21 21:51:06 -07:00
Tong Mu
24ad608bd8
Revert "Reland: Make LiveTestWidgetsFlutterBinding work with setSurfaceSize and live tests (#86739)" (#86823)
This reverts commit cf3d9409b311b64b35c2596a4c1b98b55e08089c.
2021-07-21 16:13:10 -07:00
Tong Mu
cf3d9409b3
Reland: Make LiveTestWidgetsFlutterBinding work with setSurfaceSize and live tests (#86739)
This PR fixes several bugs related to live tests, adds more tests, and completes the documentation of several methods related to pointer events.
2021-07-21 12:49:26 -07:00
nt4f04uNd
d8cdaba085
init (#82348) 2021-07-20 16:06:03 -07:00
Casey Rogers
4ab29de67f
Cancel DraggableScrollableSheet ballistic animation if a new activity begins (#86614) 2021-07-20 16:05:33 -07:00
Jeff Ward
841beff520
Support Float32Lists in StandardMessageCodec (#72613) (#83318) 2021-07-20 14:31:07 -07:00
Arthas
376584289c
Add onPlatformViewCreated to HtmlElementView (#84095) 2021-07-20 14:29:04 -07:00
Taha Tesser
89c8616f0e
fix _owner nullability in routers.dart (#84840) 2021-07-20 14:27:46 -07:00
Greg Spencer
2b7b4bdcab
Fix an exception being thrown when focus groups are empty. (#86734)
When a focus traversal group has no entries, but traversal is requested, we were throwing an exception because we couldn't find the group marker's scope in the list of candidates. This fixes that, and adds a test.
2021-07-20 12:46:58 -07:00
Kate Lovett
8802e325a0
Revert "Make LiveTestWidgetsFlutterBinding work with setSurfaceSize and live tests (#86449)" (#86730)
This reverts commit cd78190b0caec337a7ed51506d93f9ba20cefa29.
2021-07-20 14:56:50 -04:00
Pierre-Louis
7d026b6b8b
Fix regression (#86657) 2021-07-20 14:58:12 +02:00
Kenzie (Schmoll) Davisson
33f4107cd1
Reset default UserTag at the time of the first flutter frame (#86516)
* Reset default UserTag at the time of the first flutter frame
2021-07-19 14:58:14 -07:00
Tong Mu
cd78190b0c
Make LiveTestWidgetsFlutterBinding work with setSurfaceSize and live tests (#86449)
This PR fixes several bugs related to live tests, adds more tests, and completes the documentation of several methods related to pointer events.
2021-07-19 14:54:24 -07:00
Renzo Olivares
ae7d5f5360
Add floatingLabelStyle parameter to InputDecoration (#86576) 2021-07-19 13:21:06 -07:00
Callum Moffat
6909c544d5
Don't synthesize primary pointer button unless buttons = 0 (#85808)
Some embeddings might send pointer events with buttons = 0x2 (right-click) for touch or stylus device kinds. If the primary button is synthesized for those events, they won't behave properly. Without this change it's not possible to trigger "secondary tap" events on a TapGestureRecognizer while using a stylus or on an iPad trackpad, since that recognizer will receive buttons = 0x3.
2021-07-19 12:48:17 -07:00
Michael Goderbauer
e9c1c1627a
Fix null child for FittedBox (#86662) 2021-07-19 11:01:04 -07:00
Max
34f69ceaa5
add AnimatedSlide widget (#86395) 2021-07-17 10:36:03 -07:00
Filip Hracek
7cc853f14f
Link to FadeTransition from performance tip (#86379)
When suggesting more performant alternatives to rebuilding `Opacity`, `FadeTransition` is as valid as `AnimatedOpacity`, and it's less obvious ("opacity" versus "fade").
2021-07-16 15:54:02 -07:00
Michael Goderbauer
c4c5e0d758
Fix doc samples in ridgets/routes.dart (#86453) 2021-07-16 13:26:03 -07:00
Rami
8866ac65f9
[Material You] Introduce large FAB size and allow for FAB size theming (#86441) 2021-07-15 17:23:27 -07:00
Bryan Oltman
68fb008916
Add textDirection property to CupertinoTextField and CupertinoTextFormFieldRow (#86482) 2021-07-15 17:01:32 -07:00
Justin McCandless
497fc10656
Text selection toolbar position after keyboard opens (#86439) 2021-07-15 16:51:05 -07:00
Cristian Zazo
6eb59418c2
Remove obsolete doc (#86415) 2021-07-15 16:46:07 -07:00
Abhishek Ghaskata
183c8f0d1d
Null aware operator consistency (#86223) 2021-07-15 14:36:08 -07:00
Mohammad Ghalayini
a7dd6698fd
Add a borderRadius property to TableBorder (#85946) 2021-07-15 14:31:27 -07:00
Ren You
3dea9f0251
Revert "Clean up the bindings APIs (#86438)" (#86484)
This reverts commit d056500bfe6a712cdace450d06c4a8fb2290e63a.
2021-07-15 09:29:16 -07:00
Mohammad Ghalayini
acbd280148
Add an Interactive Example for PhysicalShape (#86423) 2021-07-15 09:21:02 -07:00
Ian Hickson
d056500bfe
Clean up the bindings APIs (#86438) 2021-07-14 14:41:24 -07:00
Pierre-Louis
666185c027
[Fonts] Fix icons sorting (#86434)
* Fix sorting

* Update icons.dart
2021-07-14 23:25:16 +02:00
Eng Zer Jun
57a4b023f1
build: update dependencies (#86433) 2021-07-14 13:46:04 -07:00
Tong Mu
c8d0b1d9db
New scheme for keyboard logical key ID (#85121)
This PR updates the ID used by logical keyboard keys.

The logical key ID is still composed of 2 parts: 32 bits of value, and 8 bits of plane. But the assignment of planes has been drastically changed. HID plane is removed, and unprintable plane and Flutter plane are added. This is to reflect the new generation method for logical key IDs. Now keys that are defined by Flutter but not by dom_key_data are placed into the Flutter plane, including numpad keys, sided modifier keys, and gamepad keys. The values for platform planes have also been adjusted.

The generation script and README have been updated accordingly as well.

A new file, test_utils/key_codes.h is now generated to assist engine unit testing.

All lists generated by the script are now sorted by the key.
2021-07-14 13:07:22 -07:00
Kate Lovett
252f6a0285
Add fixes for ThemeData (#86369) 2021-07-14 09:31:02 -07:00
Zachary Anderson
7f741e9181
Revert "Clean up the bindings APIs (#86388)" (#86404)
This reverts commit 31de052e3fddb4909ff88172a6937db7f3dc49db.
2021-07-13 21:32:29 -07:00
Ian Hickson
31de052e3f
Clean up the bindings APIs (#86388) 2021-07-13 18:31:11 -07:00
Hans Muller
7d52c2c4a2
Added AppBarTheme shape property (#86372) 2021-07-13 16:50:07 -07:00
Jonah Williams
2900347afe
[flutter] prevent errant text field clicks from losing focus (#86041) 2021-07-13 16:46:04 -07:00
Ian Hickson
c800b9c3e4
Revert "Clean up the bindings APIs (#83843)" (#86386)
This reverts commit e2490f2906060d0aaecbbe34a9240ca3d54ef998.
2021-07-13 15:47:40 -07:00
Ian Hickson
e2490f2906
Clean up the bindings APIs (#83843) 2021-07-13 12:41:03 -07:00
Viren Khatri
43ed3b6bed
Added rethrowError to FutureBuilder (#84308) 2021-07-13 12:11:05 -07:00
Kristóf Horváth
28b4b84f37
Fix documentation of equality functions. (#84847)
The first line of the documentation of equality functions listEquals, mapEquals, and setEquals claimed that they are deep equality functions. A later paragraph explained that they check for deep equality only if the elements, which are collections, implement the equality operator to do so. That is almost never the case.

The first line of the documentation was changed to element-by-element equality, and a reference was added to the DeepCollectionEquality class.
2021-07-13 10:24:06 -07:00
Kate Lovett
b730ba1a3e
Dart Fixes for clipBehavior breaks (#86323) 2021-07-13 10:06:04 -07:00
Hans Muller
caf21362f5
Additional ListTile API doc - Material widget dependency (#86355) 2021-07-13 09:31:39 -07:00
Kate Lovett
6e6bd3a1d4
Revert "Revert "Remove TextTheme deprecations (#83924)" (#86171)" (#86318) 2021-07-12 15:56:05 -07:00
Hans Muller
3eca034ffd
AppBar.backwardsCompatibility now default false, deprecated (#86198) 2021-07-12 13:38:12 -07:00
Payam Zahedi
b1e1dd68ae
borderRadius param updated in copyWith functions (#85822) 2021-07-12 10:31:02 -07:00
Yegor
78e06e716b
[web] move e2e tests from flutter/engine to flutter/flutter (#86119)
* [web] move e2e tests from flutter/engine to flutter/flutter
* flutter update-packages --force-upgrade
2021-07-09 15:31:49 -07:00
Greg Spencer
00d9f8df14
Add CallbackShortcuts widget (#86045) 2021-07-09 15:31:03 -07:00
Hans Muller
c51ee11748
Add a "troubleshooting" section to the AppBar API doc (#86188) 2021-07-09 12:35:01 -07:00
Jonah Williams
6d8c850ee7
[flutter] tab navigation does not notify the focus scope node (#86141) 2021-07-09 12:06:05 -07:00