Commit Graph

19078 Commits

Author SHA1 Message Date
Jonah Williams
a02cd540f6
Revert "[framework] SliverDecoration" (#107561) 2022-07-13 17:38:07 +00:00
Jason Simmons
95a5a8d741
Check for analyzer rule names instead of descriptions in a flutter_tools test (#107541)
The descriptions can change between different versions of the analyzer.
2022-07-13 09:53:40 -07:00
jensjoha
803ef6a456
Improve coverage speed by using new caching option for package:coverage (#107395)
Speedup coverage test runs by using (new) coverage handle with caching.

On a `flutter test --coverage` run on `packages/flutter` the runtime goes from ~828 seconds to ~617 seconds, or a ~25% reduction in time spent (testing without coverage takes ~236 seconds so the overhead of `--coverage` in this case goes from ~592 seconds to ~381 seconds, or a ~35% reduction).
2022-07-13 11:07:59 +02:00
Taha Tesser
c251856c89
Update ListTile docs for color animation issues and add example (#106955) 2022-07-13 08:09:07 +00:00
Taha Tesser
c7ce24d345
Update ListTile and ListTile based widget docs for Material usage (#107104) 2022-07-13 08:07:05 +00:00
Taha Tesser
a2c2d1ad85
[PopupMenu]: Add menu ClipBehavior (#107466) 2022-07-12 23:21:05 +00:00
Renzo Olivares
329afbe9d8
updateEditingValueWithDeltas should fail loudly when TextRange is invalid (#107426)
* Make deltas fail loudly

* analyzer fixes

* empty

* updates

* Analyzer fixes

* Make it more obvious what kind of TextRange is failing and where

* update tests

* Add tests for concrete TextEditinDelta apply method

* trailing spaces

* address nits

* fix analyzer

Co-authored-by: Renzo Olivares <roliv@google.com>
2022-07-12 15:59:59 -07:00
Youssef Attia
cfff88b26a
Remerge "Fixed AnimatedSwitcher chain produced duplicates" after fixing issues with g3
This reverts commit 1d2fa285a4.
2022-07-12 13:42:04 -07:00
Anurag Roy
e6f69add99
[flutter_tools] Replace android v2 embedding broken doc link (#107456) 2022-07-12 20:31:07 +00:00
hangyu
b753476004
Add a snapAnimationDuration param in DraggableScrollableSheet (#107396)
* Add a snapAnimationDuration param in DraggableScrollableSheet

* snapAnimationDuration.inMilliseconds > 0

* Update draggable_scrollable_sheet.dart
2022-07-12 23:06:21 +08:00
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