Commit Graph

14022 Commits

Author SHA1 Message Date
Chase Latta
b1a9f56487
remove fuchsia_entrypoint_shim directory (#63605) 2020-08-13 11:26:05 -07:00
Haeseok Lee
0174af8bd7
Update LinearGradient docs (#63604) 2020-08-13 11:21:04 -07:00
Rami
1de673bcda
Ensure time picker input mode lays out correctly in RTL (#63599) 2020-08-13 14:16:15 -04:00
Konstantin Scheglov
bd1a58a991
Add arguments for required parameters. (#63598) 2020-08-13 08:16:33 -07:00
Shi-Hao Hong
0a7c6243fa
[gen_l10n] Absolute project path parameter (#63368) 2020-08-13 05:11:05 -07:00
Ming Lyu (CareF)
0629030a05
WidgetTester.drag with time duration (#63410) 2020-08-12 21:01:03 -07:00
Justin McCandless
441d7f3fb8
InteractiveViewer scale interpretation improvement (#63543) 2020-08-12 15:31:09 -07:00
Alexandre Ardhuin
afc9509996
allow null in compute for weak mode (#63515) 2020-08-12 15:31:05 -07:00
Alexandre Ardhuin
be868397be
migrate part of painting to nullsafety (#63495) 2020-08-12 15:26:09 -07:00
chunhtai
72619b8642
fix wrap intrinsic height calculation (#63420) 2020-08-12 15:21:07 -07:00
Markus Aksli
41d41b3223
Add gaplessPlayback docs default discussion (#62859) 2020-08-12 13:46:05 -07:00
Jonah Williams
04bc6123a9
[null-safety] update to several framework test cases/APIs for null assertions (#62946) 2020-08-12 13:41:09 -07:00
Jason C.H
7d1842bf4f
Deprecate iOS13 style ActivityIndicator (#62741) 2020-08-12 13:41:05 -07:00
Jenn Magder
6b2ef0df7b
Fix App.framework path in Podfile (#63412) 2020-08-12 13:36:12 -07:00
LongCatIsLooong
cea055ef00
Make Scrollable's free scroll initial velocity matches that of iOS (#60501) 2020-08-12 13:31:05 -07:00
Jonah Williams
9225d8d5b7
[flutter_tools] move to fake_async, skip failing tests (#63536) 2020-08-11 19:36:05 -07:00
Jonah Williams
16df32b1eb
[flutter_tools] handle invalid yaml in plugin dependency (#63526) 2020-08-11 19:31:03 -07:00
Christopher Fujino
8dcb4c338a
Fix version parsing to use git tag --points-at (#63505) 2020-08-11 17:29:35 -07:00
Shi-Hao Hong
c36b75e45b
Remove Special Handling of Norwegian Locales (#63034)
* Regenerate _no.arb and _nb.arb from scratch

* Revert no <--> nb synonym logic
2020-08-12 07:29:17 +08:00
Darren Austin
eb941ce9d6
Removed the inputFormatters from the text input fields used by the Date Pickers (#63461) 2020-08-11 14:56:03 -07:00
xster
df8e537f96
move compile/target sdk versions to 29 (#62799) (#63008) 2020-08-11 14:51:02 -07:00
Filip Hracek
54cdb6fc3f
Add “See also” links to favorite class API docs (#62805) 2020-08-11 14:46:04 -07:00
Greg Spencer
a344fb1e2c
Update prepare_package.dart to use the process_runner package instead having duplicate code. (#62710)
Updates the prepare_package.dart script to use the process_runner package (which is where the ProcessRunner implementation was moved to).
2020-08-11 14:44:57 -07:00
Greg Spencer
54095e1b61
Make modifier key side handling consistent among platforms (#63417)
This makes the processing of RawKeyboardEventData.getModifierSide consistent among the platforms.

Before this change, some platforms (Android) didn't handle the case where the "either" flag was set, but no side flag was set (e.g. "shift" was set, but not "shift left"), and instead said that no keys were down by returning null (which was wrong).

Some platforms (Linux, Windows) also returned KeyboardSide.any from getModifierSide, when the contract says that it will never return KeyboardSide.any. Those methods now return KeyboardSide.all in the case where no side is specified, as macOS and Fuchsia already did.

Now, all platforms will return KeyboardSide.all from getModifierSide when it's not clear which side the key was on.
2020-08-11 14:44:40 -07:00
Jonah Williams
49fac9a885
[flutter_tools] add more error context to tree shaker failure (#63446) 2020-08-11 11:44:03 -07:00
Jonah Williams
c86d090e6f
[flutter_tools] add --null-assertions flag for debugging with null safety (#63416) 2020-08-11 11:36:03 -07:00
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 74b5051cd6.
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