Commit Graph

19266 Commits

Author SHA1 Message Date
Danny Tuppeny
c67d2587d5
Provide more useful error message if a non-compliant DAP tool (or user) sends bad input to DAP server (#107827) 2022-07-19 11:48:05 -07:00
Boluwatifẹ
b6afa9276d
Error in docs: CustomPaint instead of CustomPainter (#107836) 2022-07-19 18:28:05 +00:00
Qun Cheng
2b621e1ab7
Add SafeArea for NavigationRail (#107605)
* Added SafeArea for NavigationRail

Co-authored-by: Qun Cheng <quncheng@google.com>
2022-07-19 11:01:31 -07:00
Swain
2dc8bb18e8
Make the cursor no longer blinking when move, as same as the effect of iOS platform. (#107221) 2022-07-19 16:27:04 +00:00
Valentin Vignal
3eee64047a
📝 Use Icon() in IconButton.color documentation (#107819) 2022-07-19 08:55:35 -07:00
Kate Lovett
f852c46c87
Expose padding on RawScrollbar (#107756) 2022-07-19 13:26:07 +00:00
Jason Simmons
21e9bc6bd3
Do not copy the old selection when applying localization to dates in InputDatePickerFormField (#107268)
Fixes https://github.com/flutter/flutter/issues/107155
2022-07-19 00:24:13 -07:00
Tong Mu
7e96d89aea
PointerEvent asserts device kinds (#105987) 2022-07-19 04:43:04 +00:00
Zachary Anderson
e9529e2512
[flutter_tool] Allow includes relative to shader path (#107862) 2022-07-18 18:38:32 -07:00
Christopher Fujino
1371b8dc3c
[flutter_tools] Fix null check errors in attach command (#107864) 2022-07-18 23:10:06 +00:00
Alexandre Ardhuin
ccd33631e3
enable combinators_ordering (#107847) 2022-07-18 22:04:07 +00:00
Christopher Fujino
81045d4a44
Revert "Read dart_plugin_registrant path from FlutterProject to support non-standard path." (#107850) 2022-07-18 19:58:10 +00:00
Christopher Fujino
b156c0c440
[flutter_tools] migrate clean_test to null-safety (#107750) 2022-07-18 19:10:07 +00:00
Markus Aksli
da3b2a2fbd
Fix Scaffold setState during locked framework due to open drawer (#107173) 2022-07-18 11:50:06 +00:00
Christopher Fujino
4f9528293f
[flutter_tools] Remove shuffle from doctor test (#107744) 2022-07-16 00:54:05 +00:00
Jesús S Guerrero
cdf5b1d40d
Pub dependencies project validator (#106895) 2022-07-15 23:12:05 +00:00
Lau Ching Jun
2cfeb0d1e1
Pass device-user in machine mode (#107747) 2022-07-15 15:18:05 -07:00
Lau Ching Jun
8f834cf150
Read dart_plugin_registrant path from FlutterProject to support non-standard path. (#107617) 2022-07-15 12:33:07 -07:00
LongCatIsLooong
0d32ca2138
Allow key reparenting between slots in SlottedMultiChildRenderObjectWidgetMixin (#106977) 2022-07-15 19:08:05 +00:00
Christopher Fujino
060adf09db
[flutter_tools] Migrate commands.shard/hermetic/doctor_test to null-safety and make hermetic (#107670) 2022-07-15 19:06:08 +00:00
Flutter GitHub Bot
bccbcd7dbb
Roll pub packages (#107567) 2022-07-15 19:04:07 +00:00
Christopher Fujino
94da724868
[flutter_tools] fix RangeError in gen-l10n by checking for empty string (#107604) 2022-07-15 18:56:09 +00:00
LongCatIsLooong
d72853940f
Remove exclamation marks (#107683) 2022-07-15 18:52:06 +00:00
Tae Hyung Kim
2da228593f
[gen_l10n] Throw error when arb file does not exist (#107583) 2022-07-15 18:18:06 +00:00
Jenn Magder
c4975d9be0
Increase app minimum supported macOS version from 10.11 to 10.13 (#107689) 2022-07-15 11:12:43 -07:00
Taha Tesser
1bc787ee71
Fix dragging while the text selection toolbar is up doesn't hide toolbar (#106878)
Fixes a fidelity bug on desktop involving the selection toolbar not hiding when it should have.
2022-07-15 09:37:39 -07:00
Taha Tesser
bbec650b64
DropdownButton: Fix hint alignment when selectedItemBuilder is non-null. (#106731) 2022-07-15 09:56:07 +00:00
Taha Tesser
cf342254cc
Add an interactive example for Overlay (#107531) 2022-07-15 09:44:05 +00:00
Taha Tesser
c422d280ab
Add an example for AppBar.notificationPredicate (#106018) 2022-07-15 09:40:06 +00:00
Nguyen Phuc Loi
0cf9d41fc9
[flutter_driver] support send text input action (#106561)
* Support receive input action

* Fix error syntax

* Fix compile

* Add documents

* Add unit-test

* Update import

* Fixed unit-test and lint

* Add authors for me

* Fixed lint

* Fixed lint

* Add example

* Fixed lint

* Fix gen docs

* Revert code

* Remove flutter_dev

* Update packages/flutter_driver/lib/src/driver/driver.dart

Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>

* Update packages/flutter_driver/lib/src/common/action.dart

Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>

* Update packages/flutter_driver/lib/src/common/action.dart

Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>

* Rename ReceiveAction to SendTextInputAction

* Rename DriverTextInputAction to TextInputAction and fix unit-test

* Reorder import

* Remove space

* Reorder import

* Update text_input.dart

* Update flutter_driver_test.dart

* Update comment to normal comment after dart doc

* Update example

* Update AUTHORS

Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>

* Fix analyze

* Add type dart for example

* Add unit-test to check the same entries

Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>
2022-07-14 17:21:11 -07:00
moko256
45e212e74f
[Windows] Remove the usage of SETLOCAL ENABLEDELAYEDEXPANSION from bat scripts. (#106861) 2022-07-14 21:56:10 +00:00
Lau Ching Jun
5976c3702f
Check device type using platformType instead of type check to support proxied devices. (#107618) 2022-07-14 14:38:06 -07:00
Callum Moffat
902b0124a6
Add UIApplicationSupportsIndirectInputEvents migration (#106889) 2022-07-14 21:00:06 +00:00
Kate Lovett
2987d9e10a
Fix scrollbar margins (#107172) 2022-07-14 20:56:08 +00:00
Christopher Fujino
bcba43f503
[flutter_tools] Make android gradle builder test hermetic (#107606) 2022-07-14 20:08:07 +00:00
Tong Mu
d87faf921d
[Keyboard, iOS] Generate iOS's special key mapping (#106909) 2022-07-13 22:40:06 +00:00
Christopher Fujino
cadb264d26
[flutter_tools] Catch more general XmlException rather than XmlParserException (#107574) 2022-07-13 22:38:07 +00:00
Christopher Fujino
b26346f2cc
fix null safe check in RenderIndexedStack (#107581) 2022-07-13 22:36:05 +00:00
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
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
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
Taha Tesser
8fe82bbe60
Add Scaffold drawers escape dismiss action. (#106186) 2022-06-29 07:16:05 +00:00
Alexandre Ardhuin
de55eeceed
Export public API types from animation and physics libraries (#106757) 2022-06-29 05:26:09 +00:00
Zachary Anderson
9c0f239947
Put shaders under a 'shaders' section in the manifest (#106752) 2022-06-28 19:31:27 -07:00
LongCatIsLooong
812419103c
Revert "Disable cursor opacity animation on macOS, make iOS cursor animation discrete (#104335)" (#106762) 2022-06-28 22:18:06 +00:00
Justin McCandless
baf86869b1
Consistently capitalize Endpoint (not EndPoint) (#106706) 2022-06-28 14:02:39 -07:00
Alexandre Ardhuin
bbdf617034
Export public API types from services/*.dart library (#106316) 2022-06-28 20:26:06 +00:00
Helin Shiah
19d5113391
Refactor daemon to check for project's supported platforms (#106704)
* Refactor daemon to check for project's supported platforms

* Fix type issue
2022-06-28 10:49:03 -07:00
Justin McCandless
1fd3d6c3c9
Make TextInputClient a mixin (#104291)
TextInputClient and DeltaTextInputClient are now mixins, which helps with breaking changes and future deltas work
2022-06-28 10:14:50 -07:00
Flutter GitHub Bot
0e0baa40c7
Roll pub packages (#106693) 2022-06-27 14:14:09 -07:00
Dan Field
21841d7e35
Implement frameData for TestWindow (#105537) 2022-06-27 20:26:08 +00:00
Ian Hickson
265ef1efb8
Export SpellOutStringAttribute and LocaleStringAttribute (#106682) 2022-06-27 20:10:05 +00:00
hacker1024
78c92712a6
Fix typo in compute documentation: "captures" -> "capture" (#106624) 2022-06-27 11:19:28 -07:00
Loïc Sharma
6026eea9a4
[Windows] Flow version information to the build output (#106145)
Previously developers had to edit their `Runner.rc` file to update their executable's version information. Now, version information will automatically be set from `flutter build`'s arguments or the `pubspec.yaml` file for new projects. 

Addresses https://github.com/flutter/flutter/issues/73652
2022-06-27 10:45:56 -07:00
Brandon DeRosier
8b3aabd61d
Fix BidirectionalIterator deprecation warning and roll engine to a1dd50405992 (#106595)
* a1dd50405 Roll Dart SDK from 692562354d6d to 48e3f8edb811 (3 revisions) (flutter/engine#34282)

* Fix BidirectionalIterator deprecation warning

* Remove override for movePrevious

Co-authored-by: engine-flutter-autoroll <engine-flutter-autoroll@skia.org>
2022-06-24 23:19:40 -07:00
Brandon DeRosier
097c162cce
Fix .packages breakage and roll engine to 83b9a591a3d5 (#106584)
* 9508a368d Roll Dart SDK from 692562354d6d to d3b8091c30f0 (1 revision) (flutter/engine#34273)

* a2985c034 Roll Fuchsia Linux SDK from F1U6IH2Nf... to aRT7s0Yct... (flutter/engine#34251)

* 54867f360 Roll Skia from bdd0205ae470 to 4345a2ea731a (1 revision) (flutter/engine#34268)

* 98221a22d Clean up text input configuration in clearTextInputClient (flutter/engine#34209)

* b9e02cc83 Adds a license check shard to CI (flutter/engine#34274)

* 1daf7ba98 [Impeller] Metal:Reset Encoder viewport and scissor rect in case the command specifies no opinion (flutter/engine#34252)

* 83b9a591a [Linux] remove duplicate clone_string() in favor of g_strdup() (flutter/engine#34031)

* Don't use .packages

* Another attempt

Co-authored-by: engine-flutter-autoroll <engine-flutter-autoroll@skia.org>
2022-06-24 17:27:17 -07:00
Alexandre Ardhuin
526ca0d498
Export public API types from foundation/scheduler/gestures/semantics (#106409) 2022-06-24 21:21:05 +00:00
Christopher Fujino
67dd01e599
[flutter_tools] tool exit from flutter create when provided just a drive letter (#106451) 2022-06-24 13:24:03 -07:00
Jesús S Guerrero
ddd493b927
[flutter_tools] migrate project-validate to analyze --suggestions (#106149) 2022-06-24 18:43:07 +00:00
Gustl22
47f54ace45
feat(tools): Arbitrary browser flags (closes #65575) (#104935) 2022-06-24 10:14:08 -07:00
Bryan Oltman
6c3a0e4d21
Fix typo in flutter_test binding.dart (#106505) 2022-06-24 04:19:06 +00:00
Christopher Fujino
788c8b8ad4
[flutter_tools] tool exit access denied during symlinking (#106213) 2022-06-23 14:44:09 -07:00
Kate Lovett
9f4b9bfd49
Apply PrimaryScrollController updates to SingleChildScrollView (#106430) 2022-06-23 17:27:09 +00:00
Aman Verma
3022db2bf3
docs: Add more potential use case for Bottom Navigation Bar (#99644) 2022-06-23 17:17:06 +00:00
Pierre-Louis
912b81f6bf
Add toggled semantics to ToggleButtons (#106096) 2022-06-23 17:07:10 +00:00
hellohuanlin
0dd0c2edca
[platform_view]Send platform message when platform view is focused (#105050) 2022-06-23 00:01:07 +00:00
Lasse R.H. Nielsen
94e318456e
Mark use of deprecated type. (#106282) 2022-06-22 22:13:05 +00:00
Anthony Oleinik
a494a12bb0
Add "excluding" optional parameter to TargetPlatformVariant to communicate cases where test should be ran everywhere but specific platforms (#106216)
added "excluding" optional parameter to targetPlatforms.all

Co-authored-by: Anthony Oleinik <oleina@google.com>
2022-06-22 12:13:26 -07:00
Daniel Chevalier
8ff691178c
Refactoring the setPubRootDirectory tests (#106197) 2022-06-22 15:08:24 -04:00
LongCatIsLooong
60f30e5d3e
Disable cursor opacity animation on macOS, make iOS cursor animation discrete (#104335) 2022-06-22 18:09:05 +00:00
xubaolin
18575321bb
Revert "fix a Scaffold extendBodyBehindAppBar update bug" (#106396) 2022-06-22 17:01:07 +00:00
Callum Moffat
20da4014ba
Expose smart punctuation options on CupertinoSearchTextField (#97980) 2022-06-22 08:31:06 +00:00
Darren Austin
c8f867b5dc
Chip theme cleanup (#106384)
- Added complete support for showCheckmark to ChipThemeData.
- Removed build method checks for ThemeData.chipTheme, as that is
  already handled by ChipTheme.of().
2022-06-22 00:16:41 -07:00
Bruno Leroux
399a649eae
Fix TooltipState null check error (#106330) 2022-06-22 05:19:05 +00:00
Darren Austin
2532584bf3
Update parameters to the styleFrom button methods. (#105291)
* Update parameters to the `styleFrom` button methods.

* Updated the Flutter fix data to point to this PR.

* Updated handling of background color to better maintain backwards compatibility with previous API.
2022-06-21 19:08:22 -07:00
Tong Mu
0ac05f1c5c
[Keyboard, Web] Map from "Esc" to the Escape key (#106133)
* Impl

* Fix build

* Add test
2022-06-21 13:27:12 -07:00
Danny Tuppeny
e2ef8cfe44
Pass app.started events to the DAP client + dart.debuggerUris for Profile mode (#106337) 2022-06-21 12:09:06 -07:00
Jonah Williams
dfaec11ba5
migrate web integration tests to null safety (#106231) 2022-06-21 11:19:09 -07:00
Jonah Williams
c12b0de004
remove opacity layer at fully opaque (#106351) 2022-06-21 11:05:24 -07:00
Albin PK
b5c0f8ab9a
[docs] fix typos in page_transitions_theme.dart and tooltip.dart (#106264) 2022-06-21 17:39:06 +00:00
Anurag Roy
47b40601d7
[flutter_tools] Have FlutterValidator fail on non-ideal git config (#103259) 2022-06-20 19:05:07 +00:00
Viren Khatri
672859a0cb
feat: add icon to AlertDialog (#104920) 2022-06-20 10:29:06 -07:00
Jonah Williams
db829c1e20
[flutter_tools] migrate more unit tests to null safety (#106153) 2022-06-17 21:34:27 -07:00
Jenn Magder
aba0c4e6f6
Do not show diagnostic warning for disconnected iOS devices (#105971) 2022-06-18 01:52:07 +00:00
Loïc Sharma
2efa2e44fe
Add integration test for flutter build windows (#106053)
Add an integration test that verifies that `flutter build windows` produces the expected executable. In the future, this will be used to test that version information is properly stamped on the executable.

Part of https://github.com/flutter/flutter/issues/73652.
2022-06-17 17:14:18 -07:00
Alexandre Ardhuin
0f6244fa42
Export public API types from gestures/*.dart library (#105864) 2022-06-17 20:42:05 +00:00
Kate Lovett
02558d69d9
Revert "Fix StretchingOverscrollIndicator clipping and add clipBehavior parameter" (#106207) 2022-06-17 17:32:06 +00:00
Bruno Leroux
58007fc64c
Fix debugPaintSize throws 'Null Check error' (#106108) 2022-06-17 06:16:06 +00:00
Jonah Williams
1572773729
Update package:archive and pin test_api (#106157) 2022-06-16 21:23:08 -07:00
Jesús S Guerrero
fae31eecce
[flutter_tools] temporary directory (#105815) 2022-06-17 02:58:05 +00:00
David Iglesias
b1b1ee9ca6
[web] Fix JS crash when FF blocks service workers. (#106072) 2022-06-17 02:22:07 +00:00
Jonah Williams
2c15e3cae4
[flutter_tools] update test/src to null safety (#106064) 2022-06-16 16:48:03 -07:00
Sam Rawlins
f104be7ae9
Ignore body_might_complete_normally_catch_error violations (#105795) 2022-06-16 23:12:06 +00:00
Jesús S Guerrero
32b22b85de
parse build version on xcodeproj (#105908) 2022-06-16 22:26:06 +00:00
Tong Mu
ddeb0b99c5
[gen_keycodes] Remove invalid Web code maps (#106074)
* Impl

* Test
2022-06-16 13:53:23 -07:00
Taha Tesser
8e8a1c8c2a
Fix StretchingOverscrollIndicator clipping and add clipBehavior parameter (#105303) 2022-06-16 20:42:06 +00:00
Lasse R.H. Nielsen
3f401a1930
Ignore uses of soon-to-be deprecated NullThrownError. (#105693) 2022-06-16 13:38:07 -07:00
Kate Lovett
a783e422dd
Fix SliverPadding geometry (#106071) 2022-06-16 20:36:05 +00:00
Dan Field
995b3324c7
Revert "Make RenderSliverGrid more accurately report overflow" (#106123) 2022-06-16 19:12:06 +00:00
Loïc Sharma
ede7fc67f5
Add more CMake unit tests (#106076)
Currently CMake is tested entirely through `build_linux_test.dart`. However, CMake is also used for Windows builds. This adds additional "generic" tests:

1. Parsing CMake files
2. Generating CMake config files.

In the future, this will be used to test that generated CMake config files contain the expected version information, which will be used to flow version information to Windows executables.

Part of https://github.com/flutter/flutter/issues/73652.
2022-06-16 11:48:17 -07:00
xubaolin
d3bc2bbcdd
[framework] fix RangeSlider regression due to touch slop changes (#106094) 2022-06-16 18:30:06 +00:00
Ross Llewallyn
695cfa4369
TextFormField docs: added proper type with GlobalKey; replaced "we" (#105605) 2022-06-16 08:53:24 -07:00
xubaolin
ea28f287f1
fix a Scaffold extendBodyBehindAppBar update bug (#104958) 2022-06-15 18:33:06 -07:00
J-P Nurmi
512e090dfd
Fix confusing typo: extent vs. extend selection (#106002) 2022-06-15 16:58:05 -07:00
Dan Field
a0e333bdc6
Make RenderSliverGrid more accurately report overflow (#104064)
* Make RenderSliverGrid more accurately report overflow

* Update packages/flutter/lib/src/rendering/sliver_grid.dart

Co-authored-by: Kate Lovett <katelovett@google.com>

Co-authored-by: Kate Lovett <katelovett@google.com>
2022-06-15 16:28:46 -07:00
Christopher Fujino
589dd8028b
[flutter_tools] print override storage warning to STDERR instead of STDOUT (#106068) 2022-06-15 23:22:06 +00:00
Tong Mu
e55aa0e85c
Allow DoNothingIntent and DoNothingAndStopPropagationIntent to be used in a const environment (#105983) 2022-06-15 13:33:05 -07:00
Jonah Williams
92034482f9
[flutter_tool] partial null safety migration of tool source code (#105798) 2022-06-15 20:02:07 +00:00
Darren Austin
e6d525d51d
Updated tokens to v0.101. (#105923) 2022-06-14 23:06:30 -07:00
Tong Mu
576e85ca5e
TextInput: Verify TextRange and make method call fail loudly (#104711)
* Fix

* Tests

* Format

* Empty line

* Fix range test

* Fix

* Comments

* trailing spaces

* Fix tests

* Comments
2022-06-14 20:31:09 -07:00
Pierre-Louis
1d53378bec
reland #105109 (#105588) 2022-06-14 23:39:30 +02:00
Darren Austin
32981c4caa
Added useMaterial3 parameters to the light, dark and fallback ThemeData constructors. (#105944) 2022-06-14 13:09:50 -07:00
Youssef Attia
dc06326caa
Fixed issue with Hero Animations and BoxScrollViews in Scaffolds (#105654) 2022-06-13 16:48:09 -07:00
Ahmed Ashour
0be4a8e9ae
Remove unneeded date comment in gradle-wrapper.properties (#104061) 2022-06-13 16:43:11 -07:00
Youssef Attia
082560313b
Added an example for IndexedStack widget (#105318)
* Added an example for IndexedStack

* Added tests for the IndexedStack example

* Fixed type issue for onSubmitted callback functions

* Fixed documentation and moved files to their appropriate places

* Fixed documentation and moved files to their appropriate places

* Moved test files to their appropriate places

* Moved test files to their appropriate places

* Fixed file path in documentation

* Remove trailing space

* Formatting changes

* Remove extra line

* Further formatting changes

* Further formatting changes

* fix comma and inline

Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>

* Formatting

* indentation and formatting

* Formatting

* Formatting

* Formatting

* Removed duplicate chevron

* better wording on documentation

Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>

* Added testing for state preservation

Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>
Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>
2022-06-13 16:38:37 -07:00
Mahesh Jamdade
38df107b8c
Add enabled property to CheckboxlistTile (#102314) 2022-06-13 16:38:14 -07:00
Christopher Fujino
d31c250e38
[flutter_tools] Fix leaky test (#105927) 2022-06-13 16:12:29 -07:00
Anurag Roy
1ea72163b2
[flutter_tools] Remove redundant/unused code in version.dart (#105111) 2022-06-10 13:38:07 -07:00
cedvdb
feec13a168
Remove duplicated key in _IconButtonM3 (#105577) 2022-06-10 11:38:10 -07:00
Justin McCandless
213bf37a4d
Text handle drag swap on Apple platforms (#105069)
Dragging the base text selection handle on Apple makes it the extent.
2022-06-10 09:20:51 -07:00
Hans Muller
d8783ff4c2
Reland Added MaterialStatesController, updated InkWell et al. #103167 (#105656) 2022-06-10 08:12:49 -07:00
Alexandre Ardhuin
1b65ba5380
exports public API types from scheduler/*.dart (#105737) 2022-06-09 16:03:07 -07:00
Elliott Brooks (she/her)
fe57704594
Enable skipped test for Dart URI logs from DWDS (#105274) 2022-06-09 15:03:11 -07:00
Kate Lovett
784520bd04
Updating PrimaryScrollController for Desktop (#102099) 2022-06-09 16:49:45 -05:00
Lau Ching Jun
d30ad47eda
Make flutter attach respect the --dds-port flag. (#105560) 2022-06-09 13:03:09 -07:00
Christopher Fujino
8bea63287a
[flutter_tools] add shuffle to hermetic run_tests (#105462) 2022-06-09 12:53:09 -07:00
Alexandre Ardhuin
0cdb3bf582
Export public API types from foundation/*.dart library. (#105648) 2022-06-09 11:53:11 -07:00
Bruno Leroux
0b13f4b4b5
Fix BoxShadow toString() (#105696) 2022-06-09 08:13:12 -07:00
Taha Tesser
f4604fe02b
Fix SliverReorderableList item dispose (#105097) 2022-06-09 01:13:10 -07:00
Lasse R.H. Nielsen
c951d2d7a0
Stop using FallThroughError. (#105600) 2022-06-08 22:38:08 -07:00
Bruno Leroux
4dec56b2c9
Fix PageView throws Null check error (#104405) 2022-06-08 14:48:09 -07:00
Alexandre Ardhuin
56c4e3cdd8
add some exports of public API in foundation/serialization.dart (#104231) 2022-06-08 13:33:12 -07:00
Benjamin Lempereur
c150c5a03d
TimePicker : Ability to define dialOnly / inputOnly modes (#104491) 2022-06-08 13:18:14 -07:00
Taha Tesser
d72daf602d
CupertinoSlider: Add clickable cursor for web (#99557) 2022-06-08 04:03:05 -07:00