18884 Commits

Author SHA1 Message Date
Joshua Tang
a27fcf1a89
Update app bar theme property docs (#102501) 2022-06-03 07:45:26 +02:00
Elliott Brooks (she/her)
81734be7ec
Remove package:shelf version pin (#105261) 2022-06-02 21:23:09 -07:00
LongCatIsLooong
d3785152c4
Merge dirty relayout boundaries after RenderObject.invokeLayoutCallback (#105175) 2022-06-02 18:28:10 -07:00
Taha Tesser
87804363e4
Refactor MaterialStateProperty lerp functions (#104507) 2022-06-02 13:46:39 -07:00
Jenn Magder
208a418abc
flutter drive --enable-software-rendering --skia-deterministic-rendering (#105161) 2022-06-02 13:33:08 -07:00
Zachary Anderson
d87b0dde05
Revert "Hide text selection toolbar when dragging handles on mobile (#104274)" (#105247)
This reverts commit 4ec4c249ea5d62d6ef06e6d2e6af48c4500decb2.
2022-06-02 12:37:13 -07:00
Markus Aksli
4ec4c249ea
Hide text selection toolbar when dragging handles on mobile (#104274) 2022-06-02 11:18:12 -07:00
Jenn Magder
dffddf00a2
Refactor BuildIOSFrameworkCommand with common darwin baseclass (#105194) 2022-06-02 10:28:08 -07:00
Pierre-Louis
15aa3bfda3
turn on curly_braces_in_flow_control_structures for develop-facing code (#105113) 2022-06-02 11:25:40 +02:00
Hans Muller
9cf042ec74
Revert "Added MaterialStatesController, updated InkWell et al. (#103167)" (#105138)
This reverts commit 180566f2e59928912c893cc0e8a12f97e653c206.
2022-06-01 17:19:16 -07:00
Christopher Fujino
99d0f8f279
[flutter_tools] handle HandshakeException in httphostvalidator (#105076) 2022-06-01 14:08:13 -07:00
Danny Tuppeny
c5b5abe1d2
Update dependencies with 'flutter update-packages --force-upgrade' (#105009) 2022-06-01 11:33:11 -07:00
Christopher Fujino
ac791adbc0
[flutter_tools] flutter daemon handles a closed stdout IOSink (#105075) 2022-06-01 10:08:13 -07:00
Pierre-Louis
5d10cf550f
Add actionsPadding to dialog theme (#105109)
* add actionsPadding to dialog theme and refactor

* fix typo

* remove trailing spaces
2022-06-01 15:52:18 +02:00
Pierre-Louis
51b2c488c7
Fix actions padding for M3 alert dialogs (#105008)
* update docs

* use correct actions padding for dialogs

* remove trailing spaces

* Update dialog_theme.dart

* Update packages/flutter/lib/src/material/dialog.dart

Co-authored-by: Taha Tesser <tessertaha@gmail.com>

Co-authored-by: Taha Tesser <tessertaha@gmail.com>
2022-06-01 10:43:16 +02:00
Emmanuel Garcia
3b20fb3f89
Retry builds when SSL exceptions are thrown (#105078) 2022-05-31 19:53:12 -07:00
Chris Bracken
73ae3243de
[tool] Migrate off deprecated coverage paramters (#104997)
In https://github.com/flutter/flutter/pull/103771, we rolled
dependencies in Flutter, which triggered an update of package:coverage
to v1.3.1. The new version includes
https://github.com/dart-lang/coverage/pull/370 in which two deprecations
landed:

* The `Resolver` default constructor was deprecated and replaced with
  the `Resolver.create` static factory method, which unfortunately
  happens to be async.
* The `packagesPath` parameter to `HitMap.parseJson`, which takes the
  path to the `.packages` file of the package for which coverage is to
  be collected, was deprecated. This parameter was replaced with
  `packagePath` in https://github.com/dart-lang/coverage/pull/370 which
  was part of the overall deprecation of the .packages file in Dart
  itself https://github.com/dart-lang/sdk/issues/48272. The overall goal
  being that end-user code shouldn't need to know about implementation
  details such as whether dependency information is stored in a
  .packages file or a package_info.json file, but rather use the
  package_config package to obtain the package metadata and perform
  other functions such as resolving its dependencies to filesystem
  paths. packagesPath was replaced by packagePath, which takes the path
  to the package directory itself. Internally, package:coverage then
  uses package_config to do the rest of the package/script URI
  resolution to filesystem paths.

This migrates off the deprecated `packagesPath` parameter to the
replacement `packagePath` paramter.

Issue: https://github.com/flutter/flutter/issues/103830
2022-05-31 16:15:28 -07:00
Jason Simmons
116d6579c7
Remove remaining uses of hashValues in the framework (#105046) 2022-05-31 15:48:14 -07:00
Taha Tesser
ee274fde1d
Fix showSearch query text field doesn't show toolbar initially when field is empty. (#105023) 2022-05-31 14:48:10 -07:00
Gary Qian
c02be8cd47
Support string compileSdkVersion for preview android SDKs (#104662) 2022-05-31 13:08:09 -07:00
Alexandre Ardhuin
552c50e67c
more const immutable classes (#104988)
* more const immutable classes

* more const constructors in dev/ and examples/
2022-05-31 21:56:24 +02:00
Greg Spencer
16b7348155
Switch debugAssertNotDisposed to be a static (#104772)
This reverts part of the change made in #103456 to expose a debug check for subclasses of ChangeNotifier to avoid code duplication. Instead of making debugAssertNotDisposed a public instance function, it is now a public static function. It makes it harder to call, slightly, but it means that everyone who implemented ChangeNotifier instead of extending it doesn't get broken.
2022-05-31 10:33:46 -07:00
Jonas Uekötter
f9ac22a426
Improve PlatformException#stacktrace docs for Android (#104331) 2022-05-31 09:33:12 -07:00
Taha Tesser
71a9ccbf2c
InheritedModel: Add a complete interactive example and update snippet for null safety (#104174) 2022-05-30 06:13:10 -07:00
Bruno Leroux
c68fd6a31a
Add troubleshooting doc for MediaQueryData.size (#104828) 2022-05-28 23:43:06 -07:00
Justin McCandless
c135cd340d
MacOS transpose keyboard shortcut (#104457)
Implements ctrl-T to transpose characters on Mac and iOS
2022-05-27 16:10:32 -07:00
爱折腾的小竹同学
40e7e9ad8e
fix: assert does not match annotation (#104606) 2022-05-27 15:18:07 -07:00
Daco Harkes
7342574069
Fix plugin_ffi bindings regen command and bump ffigen (#104844) 2022-05-27 15:08:07 -07:00
Markus Aksli
62eebb4922
Hide SelectableRegion text selection toolbar when orientation changes (#104841) 2022-05-27 13:13:13 -07:00
Jonah Williams
8d2978af64
use immutable buffer for loading asset images (#103496) 2022-05-27 12:23:12 -07:00
Kate Lovett
2aa7317296
Revert "Add error message and documentation when a SnackBar is off screen" (#104843) 2022-05-27 11:58:14 -07:00
Darren Austin
c27a1a70f3
Update material_color_utilities dependency to 0.1.5. (#104771) 2022-05-27 11:18:12 -07:00
Justin McCandless
b7a425f196
Right click on selection when unfocused should re-focus (#104666)
Bug fix for focusing a field with right click on existing selection (Mac and iOS)
2022-05-27 09:41:03 -07:00
chunhtai
d09e454889
Fixes a bug when dragging selection handle sends events in wrong coor… (#104739)
* Fixes a bug when dragging selection handle sends events in wrong coordinates system

* remove comments

* addressing comments
2022-05-27 09:29:50 -07:00
Hans Muller
180566f2e5
Added MaterialStatesController, updated InkWell et al. (#103167) 2022-05-27 08:38:42 -07:00
David Iglesias
b7eaad8b14
[tool][web] Fix flutter.js in Safari 13 (#104761) 2022-05-26 17:50:10 -07:00
Tim Sneath
fdf9b6e93d
Update Windows manifest to declare Windows 11 (#104768) 2022-05-26 17:40:07 -07:00
chunhtai
6a88c221d5
SelectableRegion does not merge child semantics nodes (#104659) 2022-05-26 15:40:09 -07:00
Greg Spencer
3e7e01c893
Remove extraneous InheritedWidget (#104676)
When I removed Shortcuts.of and Shortcuts.maybeOf, I forgot to also remove the associated InheritedWidget. This does that.
2022-05-26 15:25:48 -07:00
Anna Gringauze
5cd979e441
Retry getting tabs in chrome launcher on ConnectionException (#104218) 2022-05-26 15:20:11 -07:00
Gary Qian
cc733660ed
Add link to more detailed multidex information. (#104558) 2022-05-26 13:05:08 -07:00
Justin McCandless
91836d6a62
its => it (#104730)
Just a small grammar fix in the PipelineOwner docs.
2022-05-26 12:59:03 -07:00
Bruno Leroux
bc53e6202e
Add error message and documentation when a SnackBar is off screen (#102073) 2022-05-26 05:15:07 -07:00
Nils Reichardt
5764b5dd67
Fix typo "technicallv" in editable_text.dart (#104701) 2022-05-26 13:22:47 +02:00
Danny Tuppeny
147020366a
Fix issues running integration tests through DAP debug adapter (#104618)
* Fix issues running integration tests through DAP

These adapters were incorrectly trying to connect a DDS instance even when Flutter would create its own. This change disables DDS in the DAP layer and leaves it to Flutter (although it passes `--no-dds` on to Flutter if provided to the DAP process).

Also fixes an issue where we would unnecessarily connect the VM Service for tests even in 'noDebug' mode because of a change/fix that now includes a 'vmServiceUri' in the `test.startedProcess` event.
2022-05-26 09:36:30 +01:00
Pierre-Louis
2aa348b940
Use curly_braces_in_flow_control_structures for widgets (#104609)
* Use `curly_braces_in_flow_control_structures` for `widgets`

* fix comments

* fix comments
2022-05-26 09:48:09 +02:00
Pierre-Louis
332c22f391
Update links to material library docs (#104392)
* Update links to `material` library docs

* outsmart bot heuristics
2022-05-26 08:56:35 +02:00
gaaclarke
20a9f1d8d7
Added option for Platform Channel statistics and Timeline events (#104531) 2022-05-25 18:43:11 -07:00
Taha Tesser
a9c71d7e23
[Reland]: Fix DropdownButton menu clip (#104251) 2022-05-25 14:58:09 -07:00
Greg Spencer
406d86b4ba
PlatformMenuBar changes to bring it into line with upcoming MenuBar implementation (#104565)
When I was doing the MenuBar implementation, I made some changes to the PlatformMenuBar to allow it to understand shortcuts a little more, and to deprecate the body parameter rename it to child to match most other widgets.

These are those changes, separated out because they are separable, and I'm trying to make the MenuBar PR smaller.
2022-05-25 14:48:28 -07:00