Commit Graph

19068 Commits

Author SHA1 Message Date
Danny Tuppeny
78d924af1d [flutter_tools] [dap] Add support for passing env variables to spawned processes (#107415)
* [flutter_tools] [dap] Add support for passing env variables to spawned processes

* Use named args

* Use in-memory fs and FakePlatform

* Pass filesystem style to MemoryFileSystem
2022-07-12 10:04:08 +01:00
Taha Tesser
66cd09dd82 Update PopupRoute docs and add an example (#106948) 2022-07-12 08:59:05 +00:00
Jonah Williams
881b27e836 [framework] SliverDecoration (#107269) 2022-07-12 02:23:05 +00:00
Michael Goderbauer
58e5750470 Persistent BottomSheet are not dismissible via a11y (#107435) 2022-07-12 01:21:04 +00:00
Darren Austin
50cde354c4 Expose the duration and curve for theme animation in MaterialApp. (#107383) 2022-07-11 15:11:37 -07:00
Jonah Williams
f980d6654e Add a matcher for Matrix4 that includes epsilon (#107326) 2022-07-11 19:23:05 +00:00
Bryan Oltman
bf7df23350 Remove superfluous periods from pub --help subcommand descriptions. (#106925)
* Remove periods from pub --help command descriptions

* Add trailing period consistently

* Remove added period from PackagesInteractiveGetCommand description

* Verify line ending for first line of command description

* Update _allowedTrailingPatterns to validate that lines end with only one period, bang, or colon
2022-07-11 13:06:31 -04:00
Casey Hillers
2a58bb7580 Revert "InputDecorator: Switch hint to Opacity instead of AnimatedOpacity" (#107406) 2022-07-11 16:23:07 +00:00
Bruno Leroux
082ad11422 Fix TabController throws build scheduled during frame error (#105442) 2022-07-11 02:40:07 -07:00
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 0d3cc92d0b.
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 3f43d9f3d4.

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

This reverts commit 21841d7e35.
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 3f43d9f3d4.
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