13996 Commits

Author SHA1 Message Date
guolinaileen
cbe0999d1f
Introduce onAppPrivateCommand to TextField (#62712) 2020-08-11 11:31:02 -07:00
Pragya
8c795e3e07
Updated Row API doc for RTL in textDirection (#61323) 2020-08-11 10:06:03 -07:00
Michael Goderbauer
7dfb997e41
Add dispose to restoration example (#63497) 2020-08-11 10:04:33 -07:00
Greg Spencer
0ec0bf505e
Make RawKeyboard assert when no keys are in keysPressed when sending a key down event. (#63426)
This adds an assert in RawKeyboard that catches the case where it tries to send a key down event, but (after synchronizing modifiers) there are no keys in keysPressed. This state can occur if the modifier flags are not set properly for the platform.

Also prevents shortcuts attempting to handle a key down when no keys are pressed at the moment (which was causing a crash in release mode).
2020-08-11 09:37:30 -07:00
Ian Hickson
e3c7fb5bef
Fix RangeMaintainingScrollPhysics (#63146)
It now uses the scroll metrics as they stood at the end of the last frame.

It previously used a weird combination of the old extents and the newish position, which led to some weird effects when the position had been changed in expectation of a viewport or content dimension change.
2020-08-11 08:59:20 -07:00
Rami
fafeb6c647
Ensure cupertino time picker positions hours and minutes correctly for RTL (#63405) 2020-08-11 10:35:16 -04:00
Alexandre Ardhuin
e8c942104b
migrate part of painting to nullsafety (#62951) 2020-08-11 07:16:03 -07:00
Ming Lyu (CareF)
b09dee59bf
add FrameTimingSummarizer (#63434) 2020-08-11 06:21:04 -07:00
Paul Berry
a4254c788f
Ignore dead_code hints for weak-only null checks. (#63007)
* Ignore dead_code hints for weak-only null checks.

When https://github.com/dart-lang/sdk/issues/41985 is fixed, the
analyzer will begin detecting dead code due to "unnecessary" null
checks.  Since we want to retain null checks in Flutter even when they
appear unnecessary (in order to preserve runtime behavior in weak
mode), we need to suppress these dead code hints.

* Add comments explaining why we're ignoring dead_code hints
2020-08-11 06:18:39 -07:00
Ian Hickson
d7883e3fb0
Clean up some test formatting and comments (#63306) 2020-08-11 06:16:03 -07:00
Ming Lyu (CareF)
2965d81ae9
update for WidgetTester.move and WidgetTester.fling doc (#63390) 2020-08-10 21:21:03 -07:00
Rustom Ichhaporia
111f76b6a4
Small documentation typo fix (#63313) 2020-08-10 21:16:03 -07:00
Panmari
9542a47e44
Fixing code snippet example for meetsGuideline. (#63273) 2020-08-10 21:11:04 -07:00
James D. Lin
ec58182b3b
[flutter tools] Make SizeAnalyzer support .apk files that don't use libapp.so (#63250) 2020-08-10 21:06:05 -07:00
Michael Goderbauer
25de941927
Make Scrollables restorable (#63131) 2020-08-10 21:01:10 -07:00
Jonah Williams
f4e442fe80
Revert "Add native stacktrace field for PlatformException (#62828)" (#63431)
This reverts commit 74b5051cd67aeaa1344a31f7a731e619ec82168b.
2020-08-10 15:16:29 -07:00
LI DONGZE
74b5051cd6
Add native stacktrace field for PlatformException (#62828)
* Add native stacktrace field for PlatformException

* Mute the readValue check for stacktrace.

* polish

* Add unit test and further polish

* Added more comments

* remove unnecessary import

* fill in stacktrace to JSONMethodCodec and fix tests

Co-authored-by: Ben Li <libe@google.com>
2020-08-10 13:29:58 -07:00
Ian Hickson
a49ba95af8
Some minor improvements to the AsyncSnapshot API (#63347) 2020-08-10 11:11:02 -07:00
Ming Lyu (CareF)
fb544659a7
update for frametiming (#62933) 2020-08-10 10:56:03 -07:00
Michael Klimushyn
cb69bbb4d5
Remove unused l and --isolate-filter tools (#63336) 2020-08-10 10:51:04 -07:00
xubaolin
ba92cbedd8
fix SingleChildScrollView clip bug (#63054) 2020-08-10 10:46:04 -07:00
Hans Muller
94319c7a62
Fixed an ElevatedButton API doc typo (#63396) 2020-08-10 10:43:55 -07:00
Hans Muller
4500a451dc
Enable InkWell to sync its hovered state when its enabled or disabled (#62913) 2020-08-08 18:21:45 -07:00
Hans Muller
e86caf7a08
Updated use of OutlineButton in FocusTraversalPolicy API doc (#63236) 2020-08-08 18:21:25 -07:00
Hans Muller
73ce3f21d0
Updated old button references in packages/flutter_test (#63230) 2020-08-08 18:20:53 -07:00
Ian Hickson
5d91d0484c
Unskip a widget inspector test that doesn't seem flaky anymore. (#62824) 2020-08-08 15:31:04 -07:00
creativecreatorormaybenot
96b6aafb49
Add onTertiaryTap* to TapGestureRecognizer and GestureDetector (#62788) 2020-08-08 15:21:02 -07:00
Phil Quitslund
58ec73fad4
API doc additions (#63194) 2020-08-07 21:31:04 -07:00
Adam Bahr
5cf3c8728c
Update "shortcut icon" to "icon" (#63154) 2020-08-07 21:26:03 -07:00
chunhtai
58e839223d
reland fix intrinsic height and width for widget span #61485 (#63118) 2020-08-07 21:01:03 -07:00
Jonah Williams
c2e85e67c9
[null-safety] remove more usage of mockito from the framework tests (#62936) 2020-08-07 20:31:08 -07:00
Pragya
191c7cbe0b
Updated dataTable API doc to explicitly point sorting (#61356) 2020-08-07 20:31:05 -07:00
chunhtai
f9fd71bc78
Implement Router widget and widgets app api (#60299) 2020-08-07 20:26:05 -07:00
Pascal Welsch
12b8d9db80
Reduce iOS scroll damping for lists with differently sized items (#59623) 2020-08-07 20:21:07 -07:00
Ian Hickson
77b4505c80
Fix a crash when disposing tabs (#63142) 2020-08-06 18:51:02 -07:00
John Ryan
c7e63113b2
Fix grammar in Route doc comment (#63132) 2020-08-06 16:26:04 -07:00
Ming Lyu (CareF)
99ea866247
update packages (#63017) 2020-08-06 16:21:05 -07:00
Nolan Scobie
43c1b34cf5
Add punctuation for unterminated sentences in doc comments (#62755)
* Add punctuation for unterminated sentences in doc comments

* Addressing review nit
2020-08-06 19:18:52 -04:00
chunhtai
3af97d228c
Fix the flexible space bar to still create a rendering object even if… (#62690) 2020-08-06 16:16:15 -07:00
Kate Lovett
79146fd0a6
Fix SliverList scrollOffsetCorrection 0 case (#62615) 2020-08-06 16:11:16 -07:00
Ayaan Khan
4680ff3a79
fix: MaterialColor Swatch Map comparison (#61974) 2020-08-06 16:06:10 -07:00
Hans Muller
050b0302a7
Fixed a typo in the DataRow API doc (#63094) 2020-08-06 13:54:56 -07:00
Ming Lyu (CareF)
033d138078
using named constructor to FrameTiming (#63030) 2020-08-06 13:51:04 -07:00
Jenn Magder
0aafdf9aa9
Change minimum iOS version from 8.0 to 9.0 (#62902) 2020-08-06 13:46:15 -07:00
Norbert Kozsir
848cb83b83
Make _isLocalCreationLocation public (#62891) 2020-08-06 09:06:07 -07:00
Alexandre Ardhuin
c54b15b6b2
unnecessary null check (#63083) 2020-08-06 18:05:36 +02:00
Alexandre Ardhuin
18ed041d18
handler can be null in platform_channel (#63057) 2020-08-06 18:05:21 +02:00
Darren Austin
e9117c1902
Updated tests to use new button classes. (#63040) 2020-08-06 08:15:25 -07:00
Hans Muller
f3b1e31c1e
Remove old button references from the Stepper widget (#63012) 2020-08-05 19:41:41 -07:00
Shi-Hao Hong
bd3a4cc517
Update to the latest localizations (#63026) 2020-08-05 19:41:04 -07:00