19059 Commits

Author SHA1 Message Date
Darren Austin
d4061c19f4
Refactor gen_defaults to support multiple generated code blocks in the same file independently. (#107278) 2022-07-10 17:17:09 -07:00
Alexander Biggs
7db73c0a93
[fuchsia] Change format of ffx call to debug spam. (#105169) 2022-07-10 22:51:06 +00:00
Dan Field
3f173357c6
Reland"Make RenderSliverGrid more accurately report overflow" (#107329) 2022-07-08 22:07:06 +00:00
Bruno Leroux
f614c59702
Fix showDialog throws cryptic message when context is not active (#107323) 2022-07-08 14:40:08 -07:00
LongCatIsLooong
c58dca2a45
Reland "Disable cursor opacity animation on macOS, make iOS cursor animation discrete (#104335)" (#106893) 2022-07-08 20:29:05 +00:00
Pierre-Louis
1704d4f5f9
Add new widget of the week videos (#107301) 2022-07-08 19:09:07 +00:00
Youssef Attia
1d2fa285a4
Revert "Fixed AnimatedSwitcher chain produced duplicates (#106962)" (#107318)
This reverts commit 0d3cc92d0b90cddf129eb57496b5386b54aeec10.
2022-07-08 11:15:12 -07:00
Taha Tesser
750516a173
Fix ListTile theme shape in a drawer (#106343) 2022-07-08 11:06:20 -07:00
Markus Aksli
255b71f192
Switch hint text to Opacity instead of AnimatedOpacity (#107156) 2022-07-08 10:46:33 -07:00
Dan Field
37de4960af
Remove listeners from pending images when clearing cache (#107276) 2022-07-08 07:52:05 +00:00
Youssef Attia
0d3cc92d0b
Fixed AnimatedSwitcher chain produced duplicates (#106962)
* Fixed AnimatedSwitcher chain produced duplicates

* Fixed issue with global keys being copied

* trailing whitespace

* removed unused dependencies

* Fixed dependency loop
2022-07-07 16:41:38 -07:00
Jonah Williams
15739345da
[framework] don't composite with a scale of 0.0 (#106982) 2022-07-07 23:30:05 +00:00
Christopher Fujino
84c8abd0f6
[flutter_tools] catch StdinException while trying to re-set single char mode (#107256) 2022-07-07 22:40:05 +00:00
Flutter GitHub Bot
255fa2d152
Roll pub packages (#107258) 2022-07-07 21:58:06 +00:00
Daniel Chevalier
76f056ac6f
Improve pub root directory interface (#106567)
The pubRoot directory interface is being changed to promote adding and removing directories
2022-07-07 15:29:39 -04:00
Flutter GitHub Bot
b748d1fb1a
Roll pub packages (#107185) 2022-07-07 17:46:07 +00:00
Callum Moffat
c32ea2171b
PointerSignalKind forwards-compatibility (#106906) 2022-07-07 10:38:07 -07:00
Kohei Seino
41405ff0f3
Add RelativeRect.fromDirectional factory (#107059)
Add `fromDirectional` factory to `RelativeRect` for when an app needs to consider both TextDirection.ltr and TextDirection.rtl.

```
RelativeRect.fromDirectional(
    textDirection: textDirection,
    start: 10.0,
    top: 20.0,
    end: 30.0,
    bottom: 40.0,
);
```

Addresses https://github.com/flutter/flutter/issues/107058.
2022-07-07 10:18:06 -07:00
Helin Shiah
118248bcc5
Pass URI converter from context to DDS (#106840)
* Pass URI converter from context to DDS

* Match change that will be merged

* Revert SDK web change
2022-07-07 10:10:04 -07:00
Alexander Aprelev
b1410c2ce7
Ensure flutter run build is done in incremental mode. (#107184)
* Ensure build is done in incremental mode.

This allows for faster bootstrapping of the compiler from previously created dill file.

Fixes https://github.com/flutter/flutter/issues/107183

* Avoid initializeFromDill in aot mode

* Update tests
2022-07-07 09:31:18 -07:00
Kate Lovett
017fc6c907
Fix RawScrollbar colors (#107177) 2022-07-07 03:38:05 +00:00
Kate Lovett
1c4339974d
Fix disallowIndicator for RefreshIndicator (#106831) 2022-07-06 17:59:09 -07:00
LongCatIsLooong
0a06644c38
Clarify that inputFormatters don't run on programmatical changes (#106904) 2022-07-06 16:19:09 -07:00
Goddchen
084e25298d
Fix typo in painting.TextStyle.merge docs (#106511) 2022-07-06 14:42:15 -07:00
Bruno Leroux
1877efed5e
Add documentation references to BottomSheetThemeData (#107149)
Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
2022-07-06 17:33:52 -04:00
Darren Austin
f396e289d5
Migrate Chips to Material 3 (#107166) 2022-07-06 13:32:44 -07:00
Taha Tesser
680a7bc8e8
SelectableText.rich: Fix TextSpan.style not merged into default text style (#101911)
Properly merges the TextSpan.style of SelectableText.rich.
2022-07-06 13:20:51 -07:00
Qun Cheng
16bbef188f
Migrate IconButton to Material 3 - Part 2 (#106437) 2022-07-06 18:14:07 +00:00
Xilai Zhang
d6f090d952
[g3 roll] revert #105537 Implement frameData for TestWindow (#107168)
* Revert "Reland "Clipping if only one character text overflows (#99146)" (#102130)"

This reverts commit 3f43d9f3d4105d4190c839e087c42d79ebe092e8.

* Revert "Implement frameData for TestWindow (#105537)"

This reverts commit 21841d7e3576ac2ac40dbdca6a3cd03cbdbf90ff.
2022-07-06 10:29:19 -07:00
Christopher Fujino
19ac08dcd7
manual pub package roll; remove test_api pin, unblock bumping dwds (#106887) 2022-07-06 17:28:07 +00:00
Jonah Williams
d36ecec5b9
[framework] partial removal of forced compositing from opacity (#106989) 2022-07-02 16:49:06 +00:00
LongCatIsLooong
09a5382ff9
Add error messages to _debugCanPerformMutations (#105638) 2022-07-02 00:55:04 +00:00
David Iglesias
c4aaa394ac
[tool][web] Create an early web plugin_registrant for dartpad. (#106921) 2022-07-02 00:51:06 +00:00
Xilai Zhang
a7fe235c8c
Revert "Reland "Clipping if only one character text overflows (#99146)" (#102130)" (#106964)
This reverts commit 3f43d9f3d4105d4190c839e087c42d79ebe092e8.
2022-07-01 12:46:21 -07:00
Hari07
46c4fc1164
Animated fractionally sized box (#106795) 2022-07-01 00:50:05 +00:00
Loïc Sharma
dcbdff087b
Ignore invalid description property in vswhere.exe JSON output (#106836)
The `flutter doctor` command uses `vswhere.exe` to verify the Visual Studio installation. This `vswhere.exe` is known to encode its output incorrectly. This is problematic as the `description` property is localized, and in certain languages this results in invalid JSON due to the incorrect encoding.

This change introduces a fallback to our `vswhere.exe` output parsing logic: if parsing JSON fails, remove the `description` property and retry parsing the JSON.

This fix was also tested on the outputs provided here: https://github.com/flutter/flutter/issues/106601#issuecomment-1170138123

Addresses https://github.com/flutter/flutter/issues/106601
2022-06-30 16:15:20 -07:00
Kate Lovett
6806884525
Fix scrollbar track offset (#106835) 2022-06-30 20:30:05 +00:00
Bruno Leroux
0eed9adde7
Improve SnackBar error message when shown during build (#106658) 2022-06-30 20:28:05 +00:00
Kate Lovett
90d6303ff5
Fix DraggableScrollableSheet crash when switching out scrollables (#105549) 2022-06-30 20:26:10 +00:00
xubaolin
e10310d2da
Reland "fix a Scaffold.bottomSheet update bug" (#106775) 2022-06-30 16:58:05 +00:00
Zachary Anderson
b005a34790
[flutter_tool] Pass --input-type to impellerc (#106845) 2022-06-30 07:12:24 -07:00
Bruno Leroux
776a15c57b
Documentation update to advertize timedDrag (#106489) 2022-06-30 13:02:07 +00:00
Taha Tesser
a74c48133a
[Reland]: Fix StretchingOverscrollIndicator clipping and add clipBehavior parameter (#106287) 2022-06-30 12:16:05 +00:00
Taha Tesser
9a3b9f62a9
Fix DropdownButton Inkwell border radius (#106657) 2022-06-30 12:14:05 +00:00
xubaolin
caadc255b7
Reland "fix a Scaffold extendBodyBehindAppBar update bug" (#106534) 2022-06-30 02:50:05 +00:00
Tong Mu
9970481b7a
[gen_keycodes] Mark generated file names with infix .g. (#106142) 2022-06-30 00:08:08 +00:00
Renzo Olivares
4c1d887e9c
Set selection on tap down for desktop platforms and tap up for mobile (#105505)
Co-authored-by: Renzo Olivares <roliv@google.com>
2022-06-29 16:35:47 -07:00
xubaolin
3f43d9f3d4
Reland "Clipping if only one character text overflows (#99146)" (#102130)
Fixes a text clipping edge case.
2022-06-29 14:57:16 -07:00
godofredoc
fb5ad6e8a7
Update localizations for flutter. (#106759) 2022-06-29 18:24:05 +00:00
Daco Harkes
e4bde83d7f
plugin_ffi warn about lack of platform support (#106813) 2022-06-29 10:29:11 -07:00