text:
Random failures running "flutter update-packages" on mac 10.15.7

"flutter update-packages" fails randomly when running on mac 10.15.7 machines. Depending on the test it fails on different packages:
https://ci.chromium.org/p/flutter/builders/prod/Mac_staging flavors_test_ios/325
    |   yaml:
    |     dependency: "direct dev"
    |     description:
    |       name: yaml
    |       url: "https://pub.dartlang.org"
    |     source: hosted
    |     version: "2.2.1"
    | sdks:
    |   dart: ">=2.12.0-0.0 <3.0.0"
ERR : Cannot open file, path = './pubspec.lock' (OS Error: No such file or directory, errno = 2)
FINE: Exception type: FileSystemException
FINE: dart:io                                                                      _File.writeAsStringSync
    | package:pub/src/io.dart 182:14                                               writeTextFile
    | package:pub/src/entrypoint.dart 794:5                                        Entrypoint._saveLockFile
    | package:pub/src/entrypoint.dart 266:7                                        Entrypoint.acquireDependencies
    | ===== asynchronous gap ===========================
    | dart:async                                                                   Future.catchError
    | package:pub/src/utils.dart 113:52                                            captureErrors.wrappedCallback
    | package:stack_trace                                                          Chain.capture
    | package:pub/src/utils.dart 126:11                                            captureErrors
    | package:pub/src/command.dart 164:13                                          PubCommand.run
    | package:args/command_runner.dart 196:27                                      CommandRunner.runCommand
    | package:pub/src/command_runner.dart 150:26                                   PubCommandRunner.runCommand
    | package:pub/src/command_runner.dart 138:18                                   PubCommandRunner.run
    | ../../../builder/src/third_party/dart/third_party/pkg/pub/bin/pub.dart 9:48  main
---- End log transcript ----
pub get failed (66; ---- End log transcript ----)

https://ci.chromium.org/p/flutter/builders/prod/Mac_staging flutter_view_ios__start_up/325
IO  : Writing 18401 characters to text file /opt/s/w/ir/k/.pub-cache/hosted/pub.dartlang.org/.cache/process-versions.json.
FINE: Contents:
    | {"name":"process","latest":{"version":"3.0.13","pubspec":{"name":"process","version":"3.0.13","description":"A pluggable, mockable process invocation abstraction for Dart.","homepage":"https://github.com/google/process.dart","dependencies":{"file":"^5.0.0","intl":">=0.14.0 <0.17.0","meta":"^1.1.2","path":"^1.5.1","platform":">=1.0.1"},"dev_dependencies":{"test":"^1.0.0"},"environment":{"sdk":">=2.0.0 <3.0.0"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/3.0.13.tar.gz","published":"2020-05-15T16:10:46.740868Z"},"versions":[{"version":"1.0.0","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>"],"version":"1.0.0","name":"process","dependencies":{"intl":">=0.14.0 <0.15.0","file":"^1.0.1","path":"^1.4.0"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=1.19.0 <2.0.0"},"homepage":"https://github.com/tvolkert/process","dev_dependencies":{"test":"^0.12.10"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/1.0.0.tar.gz","published":"2017-01-21T02:04:49.041Z"},{"version":"1.0.1","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>"],"version":"1.0.1","name":"process","dependencies":{"intl":">=0.14.0 <0.15.0","file":"^1.0.1","path":"^1.4.0","meta":"^1.0.4"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=1.19.0 <2.0.0"},"homepage":"https://github.com/tvolkert/process","dev_dependencies":{"test":"^0.12.10"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/1.0.1.tar.gz","published":"2017-01-24T17:08:32.935Z"},{"version":"1.1.0","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>"],"version":"1.1.0","name":"process","dependencies":{"intl":">=0.14.0 <0.15.0","file":"^1.0.1","platform":"^1.0.1","path":"^1.4.0","meta":"^1.0.4"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=1.19.0 <2.0.0"},"homepage":"https://github.com/google/process.dart","dev_dependencies":{"test":"^0.12.10"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/1.1.0.tar.gz","published":"2017-02-11T00:38:29.587Z"},{"version":"2.0.0","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>","Michael Goderbauer <goderbauer@google.com>"],"version":"2.0.0","name":"process","dependencies":{"intl":">=0.14.0 <0.15.0","file":"^2.0.1","platform":"^1.0.1","path":"^1.4.0","meta":"^1.0.4"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=1.19.0 <2.0.0"},"homepage":"https://github.com/google/process.dart","dev_dependencies":{"test":"^0.12.10"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/2.0.0.tar.gz","published":"2017-02-13T17:38:07.378Z"},{"version":"2.0.1","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>","Michael Goderbauer <goderbauer@google.com>"],"version":"2.0.1","name":"process","dependencies":{"intl":">=0.14.0 <0.15.0","file":"^2.0.1","platform":"^1.0.1","path":"^1.4.0","meta":"^1.0.4"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=1.19.0 <2.0.0"},"homepage":"https://github.com/google/process.dart","dev_dependencies":{"test":"^0.12.10"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/2.0.1.tar.gz","published":"2017-02-13T22:25:30.108Z"},{"version":"2.0.2","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>","Michael Goderbauer <goderbauer@google.com>"],"version":"2.0.2","name":"process","dependencies":{"intl":">=0.14.0 <0.15.0","file":"^2.0.1","platform":"^1.0.1","path":"^1.4.0","meta":"^1.0.4"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=1.19.0 <2.0.0"},"homepage":"https://github.com/google/process.dart","dev_dependencies":{"test":"^0.12.10"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/2.0.2.tar.gz","published":"2017-03-27T17:42:26.984632Z"},{"version":"2.0.3","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>","Michael Goderbauer <goderbauer@google.com>"],"version":"2.0.3","name":"process","dependencies":{"intl":">=0.14.0 <0.15.0","file":"^2.0.1","platform":">=1.0.1 <3.0.0","path":"^1.4.0","meta":"^1.0.4"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=1.19.0 <2.0.0"},"homepage":"https://github.com/google/process.dart","dev_dependencies":{"test":"^0.12.10"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/2.0.3.tar.gz","published":"2017-04-05T21:44:22.091527Z"},{"version":"2.0.4","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>","Michael Goderbauer <goderbauer@google.com>"],"version":"2.0.4","name":"process","dependencies":{"intl":">=0.14.0 <0.16.0","file":"^2.0.1","platform":">=1.0.1 <3.0.0","path":"^1.4.0","meta":"^1.0.4"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=1.19.0 <2.0.0"},"homepage":"https://github.com/google/process.dart","dev_dependencies":{"test":"^0.12.10"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/2.0.4.tar.gz","published":"2017-07-11T22:07:44.494434Z"},{"version":"2.0.5","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>","Michael Goderbauer <goderbauer@google.com>"],"version":"2.0.5","name":"process","dependencies":{"intl":">=0.14.0 <0.16.0","file":"^2.0.1","platform":">=1.0.1 <3.0.0","path":"^1.4.0","meta":"^1.0.4"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=1.19.0 <2.0.0-dev.infinity"},"homepage":"https://github.com/google/process.dart","dev_dependencies":{"test":"^0.12.10"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/2.0.5.tar.gz","published":"2017-07-13T18:35:57.336405Z"},{"version":"2.0.6","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>","Michael Goderbauer <goderbauer@google.com>"],"version":"2.0.6","name":"process","dependencies":{"intl":">=0.14.0 <0.16.0","file":"^2.0.1","platform":">=1.0.1 <3.0.0","path":"^1.4.0","meta":"^1.0.4"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=1.21.0 <2.0.0"},"homepage":"https://github.com/google/process.dart","dev_dependencies":{"test":"^0.12.10"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/2.0.6.tar.gz","published":"2017-11-01T17:48:34.934281Z"},{"version":"2.0.7","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>","Michael Goderbauer <goderbauer@google.com>"],"version":"2.0.7","name":"process","dependencies":{"intl":">=0.14.0 <0.16.0","file":"^2.0.1","platform":">=1.0.1 <3.0.0","path":"^1.4.0","meta":"^1.0.4"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=1.21.0 <2.0.0"},"homepage":"https://github.com/google/process.dart","dev_dependencies":{"test":"^0.12.10"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/2.0.7.tar.gz","published":"2018-01-02T22:02:20.617814Z"},{"version":"2.0.8","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>","Michael Goderbauer <goderbauer@google.com>"],"version":"2.0.8","name":"process","dependencies":{"intl":">=0.14.0 <0.16.0","file":"^2.0.1","platform":">=1.0.1 <3.0.0","path":"^1.4.0","meta":"^1.0.4"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=1.21.0 <2.0.0"},"homepage":"https://github.com/google/process.dart","dev_dependencies":{"test":"^0.12.10"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/2.0.8.tar.gz","published":"2018-03-07T20:46:46.382524Z"},{"version":"2.0.9","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>","Michael Goderbauer <goderbauer@google.com>"],"version":"2.0.9","name":"process","dependencies":{"intl":">=0.14.0 <0.16.0","file":">=2.0.1 <4.0.0","platform":">=1.0.1 <3.0.0","path":"^1.4.0","meta":"^1.0.4"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=1.21.0 <2.0.0"},"homepage":"https://github.com/google/process.dart","dev_dependencies":{"test":"^0.12.10"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/2.0.9.tar.gz","published":"2018-03-20T23:37:11.444284Z"},{"version":"3.0.0","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>","Michael Goderbauer <goderbauer@google.com>"],"version":"3.0.0","name":"process","dependencies":{"intl":">=0.14.0 <0.16.0","file":">=2.0.1","platform":">=1.0.1","path":"^1.5.1","meta":"^1.1.2"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=2.0.0-dev.28.0 <2.0.0"},"homepage":"https://github.com/google/process.dart","dev_dependencies":{"test":"^0.12.33"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/3.0.0.tar.gz","published":"2018-04-09T16:34:27.823412Z"},{"version":"3.0.1","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>","Michael Goderbauer <goderbauer@google.com>"],"version":"3.0.1","name":"process","dependencies":{"intl":">=0.14.0 <0.16.0","file":">=2.0.1","platform":">=1.0.1","path":"^1.5.1","meta":"^1.1.2"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=2.0.0-dev.28.0 <2.0.0"},"homepage":"https://github.com/google/process.dart","dev_dependencies":{"test":"^0.12.33"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/3.0.1.tar.gz","published":"2018-04-10T16:00:31.122476Z"},{"version":"3.0.3","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>","Michael Goderbauer <goderbauer@google.com>"],"version":"3.0.3","name":"process","dependencies":{"intl":">=0.14.0 <0.16.0","file":"^5.0.0","platform":">=1.0.1","path":"^1.5.1","meta":"^1.1.2"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=2.0.0-dev.54.0 <2.0.0"},"homepage":"https://github.com/google/process.dart","dev_dependencies":{"test":"^0.12.33"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/3.0.3.tar.gz","published":"2018-07-24T19:19:20.669405Z"},{"version":"3.0.4","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>","Michael Goderbauer <goderbauer@google.com>"],"version":"3.0.4","name":"process","dependencies":{"intl":">=0.14.0 <0.16.0","file":"^5.0.0","platform":">=1.0.1","path":"^1.5.1","meta":"^1.1.2"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=2.0.0-dev.61 <3.0.0"},"homepage":"https://github.com/google/process.dart","dev_dependencies":{"test":"^0.12.33"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/3.0.4.tar.gz","published":"2018-08-13T18:04:27.749436Z"},{"version":"3.0.5","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>","Michael Goderbauer <goderbauer@google.com>"],"version":"3.0.5","name":"process","dependencies":{"intl":">=0.14.0 <0.16.0","file":"^5.0.0","platform":">=1.0.1","path":"^1.5.1","meta":"^1.1.2"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=2.0.0-dev.61 <3.0.0"},"homepage":"https://github.com/google/process.dart","dev_dependencies":{"test":"^1.0.0"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/3.0.5.tar.gz","published":"2018-08-13T18:28:04.533760Z"},{"version":"3.0.6","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>","Michael Goderbauer <goderbauer@google.com>"],"version":"3.0.6","name":"process","dependencies":{"intl":">=0.14.0 <0.16.0","file":"^5.0.0","platform":">=1.0.1","path":"^1.5.1","meta":"^1.1.2"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=2.0.0-dev.61 <3.0.0"},"homepage":"https://github.com/google/process.dart","dev_dependencies":{"test":"^1.0.0"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/3.0.6.tar.gz","published":"2018-11-08T22:03:54.263978Z"},{"version":"3.0.7","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>","Michael Goderbauer <goderbauer@google.com>"],"version":"3.0.7","name":"process","dependencies":{"intl":">=0.14.0 <0.16.0","file":"^5.0.0","platform":">=1.0.1","path":"^1.5.1","meta":"^1.1.2"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=2.0.0-dev.61 <3.0.0"},"homepage":"https://github.com/google/process.dart","dev_dependencies":{"test":"^1.0.0"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/3.0.7.tar.gz","published":"2018-11-08T22:37:57.754950Z"},{"version":"3.0.8","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>","Michael Goderbauer <goderbauer@google.com>"],"version":"3.0.8","name":"process","dependencies":{"intl":">=0.14.0 <0.16.0","file":"^5.0.0","platform":">=1.0.1","path":"^1.5.1","meta":"^1.1.2"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=2.0.0-dev.61 <3.0.0"},"homepage":"https://github.com/google/process.dart","dev_dependencies":{"test":"^1.0.0"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/3.0.8.tar.gz","published":"2018-11-08T23:38:12.493464Z"},{"version":"3.0.9","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>","Michael Goderbauer <goderbauer@google.com>"],"version":"3.0.9","name":"process","dependencies":{"intl":">=0.14.0 <0.16.0","file":"^5.0.0","platform":">=1.0.1","path":"^1.5.1","meta":"^1.1.2"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=2.0.0-dev.61 <3.0.0"},"homepage":"https://github.com/google/process.dart","dev_dependencies":{"test":"^1.0.0"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/3.0.9.tar.gz","published":"2018-11-09T17:50:36.222276Z"},{"version":"3.0.10","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>","Michael Goderbauer <goderbauer@google.com>"],"version":"3.0.10","name":"process","dependencies":{"intl":">=0.14.0 <0.16.0","file":"^5.0.0","platform":">=1.0.1","path":"^1.5.1","meta":"^1.1.2"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=2.0.0-dev.61 <3.0.0"},"homepage":"https://github.com/google/process.dart","dev_dependencies":{"test":"^1.0.0"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/3.0.10.tar.gz","published":"2019-08-06T04:13:36.749755Z"},{"version":"3.0.11","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>","Michael Goderbauer <goderbauer@google.com>"],"version":"3.0.11","name":"process","dependencies":{"intl":">=0.14.0 <0.16.0","file":"^5.0.0","platform":">=1.0.1","path":"^1.5.1","meta":"^1.1.2"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=2.0.0-dev.61 <3.0.0"},"homepage":"https://github.com/google/process.dart","dev_dependencies":{"test":"^1.0.0"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/3.0.11.tar.gz","published":"2019-08-09T21:33:07.205205Z"},{"version":"3.0.12","pubspec":{"authors":["Todd Volkert <tvolkert@google.com>","Michael Goderbauer <goderbauer@google.com>"],"version":"3.0.12","name":"process","dependencies":{"intl":">=0.14.0 <0.17.0","file":"^5.0.0","platform":">=1.0.1","path":"^1.5.1","meta":"^1.1.2"},"description":"A pluggable, mockable process invocation abstraction for Dart.","environment":{"sdk":">=2.0.0-dev.61 <3.0.0"},"homepage":"https://github.com/google/process.dart","dev_dependencies":{"test":"^1.0.0"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/3.0.12.tar.gz","published":"2019-09-05T20:11:34.863872Z"},{"version":"3.0.13","pubspec":{"name":"process","version":"3.0.13","description":"A pluggable, mockable process invocation abstraction for Dart.","homepage":"https://github.com/google/process.dart","dependencies":{"file":"^5.0.0","intl":">=0.14.0 <0.17.0","meta":"^1.1.2","path":"^1.5.1","platform":">=1.0.1"},"dev_dependencies":{"test":"^1.0.0"},"environment":{"sdk":">=2.0.0 <3.0.0"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/3.0.13.tar.gz","published":"2020-05-15T16:10:46.740868Z"},{"version":"4.0.0-nullsafety.1","pubspec":{"name":"process","version":"4.0.0-nullsafety.1","description":"A pluggable, mockable process invocation abstraction for Dart.","homepage":"https://github.com/google/process.dart","environment":{"sdk":">=2.10.0-4.0.dev <2.10.0"},"dependencies":{"file":"^6.0.0-nullsafety.1","path":"^1.8.0-nullsafety","platform":"^3.0.0-nullsafety.1"},"dev_dependencies":{"test":"^1.16.0-nullsafety.1"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/4.0.0-nullsafety.1.tar.gz","published":"2020-08-11T18:29:28.297723Z"},{"version":"4.0.0-nullsafety.2","pubspec":{"name":"process","version":"4.0.0-nullsafety.2","description":"A pluggable, mockable process invocation abstraction for Dart.","homepage":"https://github.com/google/process.dart","environment":{"sdk":">=2.10.0-0.0 <2.11.0"},"dependencies":{"file":"^6.0.0-nullsafety.1","path":"^1.8.0-nullsafety","platform":"^3.0.0-nullsafety.1"},"dev_dependencies":{"test":"^1.16.0-nullsafety.1"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/4.0.0-nullsafety.2.tar.gz","published":"2020-09-22T20:42:31.449325Z"},{"version":"4.0.0-nullsafety.3","pubspec":{"name":"process","version":"4.0.0-nullsafety.3","description":"A pluggable, mockable process invocation abstraction for Dart.","homepage":"https://github.com/google/process.dart","environment":{"sdk":">=2.10.0-0.0 <2.12.0"},"dependencies":{"file":"^6.0.0-nullsafety.1","path":"^1.8.0-nullsafety","platform":"^3.0.0-nullsafety.1"},"dev_dependencies":{"test":"^1.16.0-nullsafety.1"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/4.0.0-nullsafety.3.tar.gz","published":"2020-10-22T17:07:35.438491Z"},{"version":"4.0.0-nullsafety.4","pubspec":{"name":"process","version":"4.0.0-nullsafety.4","description":"A pluggable, mockable process invocation abstraction for Dart.","homepage":"https://github.com/google/process.dart","environment":{"sdk":">=2.12.0-0 <3.0.0"},"dependencies":{"file":"^6.0.0-nullsafety.4","path":"^1.8.0-nullsafety.3","platform":"^3.0.0-nullsafety.4"},"dev_dependencies":{"test":"^1.16.0-nullsafety.8"}},"archive_url":"https://pub.dartlang.org/packages/process/versions/4.0.0-nullsafety.4.tar.gz","published":"2020-11-04T18:56:45.840408Z"}],"_fetchedAt":"2021-02-02T16:39:32.174370"}
SLVR:                                                                                fact: fuchsia_remote_debug_protocol from sdk doesn't exist (could not find package fuchsia_remote_debug_protocol in the Flutter SDK)
SLVR:                                                                                conflict: fuchsia_remote_debug_protocol from sdk doesn't exist (could not find package fuchsia_remote_debug_protocol in the Flutter SDK)
SLVR:   derived: not fuchsia_remote_debug_protocol any from sdk
SLVR:   conflict: every version of flutter_driver from sdk depends on fuchsia_remote_debug_protocol any from sdk
SLVR:   ! not fuchsia_remote_debug_protocol any from sdk is satisfied by not fuchsia_remote_debug_protocol any from sdk
SLVR:   ! which is caused by "fuchsia_remote_debug_protocol from sdk doesn't exist (could not find package fuchsia_remote_debug_protocol in the Flutter SDK)"
SLVR:   ! thus: flutter_driver from sdk is forbidden
SLVR:   ! flutter_driver any from sdk is satisfied by flutter_driver any from sdk
SLVR:   ! which is caused by "channels depends on flutter_driver any from sdk"
SLVR:   ! thus: version solving failed
SLVR: Version solving took 0:00:01.314289 seconds.
    | Tried 1 solutions.
FINE: Resolving dependencies finished (1.3s).
ERR : Because every version of flutter_driver from sdk depends on fuchsia_remote_debug_protocol any from sdk which is forbidden, flutter_driver from sdk is forbidden.
    | So, because channels depends on flutter_driver any from sdk, version solving failed.
FINE: Exception type: SolveFailure
FINE: package:pub/src/solver/version_solver.dart 308:5                                VersionSolver._resolveConflict
    | package:pub/src/solver/version_solver.dart 129:27                               VersionSolver._propagate
    | package:pub/src/solver/version_solver.dart 93:11                                VersionSolver.solve.<fn>
    | ===== asynchronous gap ===========================
    | dart:async                                                                      Future.catchError
    | package:pub/src/utils.dart 113:52                                               captureErrors.wrappedCallback
    | package:stack_trace                                                             Chain.capture
    | package:pub/src/utils.dart 126:11                                               captureErrors
    | package:pub/src/command.dart 164:13                                             PubCommand.run
    | package:args/command_runner.dart 196:27                                         CommandRunner.runCommand
    | package:pub/src/command_runner.dart 150:26                                      PubCommandRunner.runCommand
    | package:pub/src/command_runner.dart 138:18                                      PubCommandRunner.run
    | ../../../../builder/src/third_party/dart/third_party/pkg/pub/bin/pub.dart 9:48  main
---- End log transcript ----

https://ci.chromium.org/p/flutter/builders/prod/Mac_staging flutter_gallery_ios32__start_up/40
SLVR:                                 selecting flutter_test 0.0.0 from sdk
SLVR:                                   selecting vector_math 2.1.0-nullsafety.5
SLVR:                                   fact: typed_data >=1.3.0-nullsafety.4 <1.3.0 depends on collection >=1.15.0-nullsafety <1.15.0
SLVR:                                     selecting typed_data 1.3.0-nullsafety.5
SLVR:                                       selecting meta 1.3.0-nullsafety.6
SLVR:                                         selecting collection 1.15.0-nullsafety.5
SLVR:                                           selecting characters 1.1.0-nullsafety.5
SLVR:                                           fact: every version of flutter from sdk depends on characters 1.1.0-nullsafety.5
SLVR:                                           fact: every version of flutter from sdk depends on collection 1.15.0-nullsafety.5
SLVR:                                           fact: every version of flutter from sdk depends on meta 1.3.0-nullsafety.6
SLVR:                                           fact: every version of flutter from sdk depends on sky_engine any from sdk
SLVR:                                           fact: every version of flutter from sdk depends on typed_data 1.3.0-nullsafety.5
SLVR:                                           fact: every version of flutter from sdk depends on vector_math 2.1.0-nullsafety.5
SLVR:                                             selecting flutter 0.0.0 from sdk
SLVR:                                             derived: sky_engine any from sdk
SLVR:                                             fact: sky_engine from sdk doesn't exist (could not find package sky_engine in the Flutter SDK)
SLVR:                                             conflict: sky_engine from sdk doesn't exist (could not find package sky_engine in the Flutter SDK)
SLVR:   derived: not sky_engine any from sdk
SLVR:   conflict: every version of flutter from sdk depends on sky_engine any from sdk
SLVR:   ! not sky_engine any from sdk is satisfied by not sky_engine any from sdk
SLVR:   ! which is caused by "sky_engine from sdk doesn't exist (could not find package sky_engine in the Flutter SDK)"
SLVR:   ! thus: flutter from sdk is forbidden
SLVR:   ! flutter any from sdk is satisfied by flutter any from sdk
SLVR:   ! which is caused by "manual_tests depends on flutter any from sdk"
SLVR:   ! thus: version solving failed
SLVR: Version solving took 0:00:00.716188 seconds.
    | Tried 1 solutions.
FINE: Resolving dependencies finished (0.7s).
ERR : Because every version of flutter from sdk depends on sky_engine any from sdk which is forbidden, flutter from sdk is forbidden.
    | So, because manual_tests depends on flutter any from sdk, version solving failed.
FINE: Exception type: SolveFailure
FINE: package:pub/src/solver/version_solver.dart 308:5                             VersionSolver._resolveConflict
    | package:pub/src/solver/version_solver.dart 129:27                            VersionSolver._propagate
    | package:pub/src/solver/version_solver.dart 93:11                             VersionSolver.solve.<fn>
    | ===== asynchronous gap ===========================
    | dart:async                                                                   Future.catchError
    | package:pub/src/utils.dart 113:52                                            captureErrors.wrappedCallback
    | package:stack_trace                                                          Chain.capture
    | package:pub/src/utils.dart 126:11                                            captureErrors
    | package:pub/src/command.dart 164:13                                          PubCommand.run
    | package:args/command_runner.dart 196:27                                      CommandRunner.runCommand
    | package:pub/src/command_runner.dart 150:26                                   PubCommandRunner.runCommand
    | package:pub/src/command_runner.dart 138:18                                   PubCommandRunner.run
    | ../../../builder/src/third_party/dart/third_party/pkg/pub/bin/pub.dart 9:48  main
---- End log transcript ----

\cc @Hixie who is the correct person to help us debug this issue?

If the problem is in pub then probably @sigurdm, I believe.

Yep and @jonasfj

The first stack trace reads as if CWD is not existing while pub is trying to write the lock-file. (Otherwise how could File.writeAsStringSync fail with o such file or directory?)
Are several things happening in parallel? Could something be deleting the folder we are resolving in?
Do these failures happen consistently or are they flaky?

Hmm, in logs, I see snippets like:
SLVR:   ! which is caused by "sky_engine from sdk doesn't exist (could not find package sky_engine in the Flutter SDK)"

and
Invalid argument(s): Cannot find executable for /opt/s/w/ir/cache/flutter sdk/bin/cache/dart-sdk/bin/pub.
#0      _getExecutable (package:process/src/interface/local_process_manager.dart:124:5)
#1      LocalProcessManager.start (package:process/src/interface/local_process_manager.dart:40:30)

I wonder if something is in the process of deleting the Flutter SDK while this is running :see_no_evil:

I agree, it looks like the sdk is getting deleted out from under the test.
Cannot open file, path = './pubspec.lock' (OS Error: No such file or directory, errno = 2)

There's also one's where pub was working fine, then /opt/s/w/ir/cache/flutter sdk/version disappeared.
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket.appspot.com/8856161433060853600/+/steps/flutter_update-packages/0/stdout
Running "flutter pub get" in manual_tests...                       907ms
Running "flutter pub get" in devicelab...                        1,463ms
Running "flutter pub get" in customer_testing...                   892ms

FileSystemException: Cannot open file, path = '/opt/s/w/ir/cache/flutter sdk/version' (OS Error: No such file or directory, errno = 2)
#0      _File.throwIfError (dart:io/file_impl.dart:635:7)
#1      _File.openSync (dart:io/file_impl.dart:479:5)

Here's another one.  pub succeeded repeatedly, then all of a sudden the pub executable went missing
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket.appspot.com/8856182444612366688/+/steps/flutter_update-packages/0/stdout
Running "flutter pub get" in hybrid_android_views...             1,972ms
Running "flutter pub get" in non_nullable...

Invalid argument(s): Could not resolve /opt/s/w/ir/cache/flutter sdk/bin/cache/dart-sdk/bin/pub to executablePath in /opt/s/w/ir/cache/flutter sdk/dev/integration_tests/non_nullable

Same with the one https://github.com/flutter/flutter/issues/75281 is tracking.  sky_engine is being deleted out from under it?
Running "flutter pub get" in channels...
Could not find package sky_engine in the Flutter SDK.

---- Log transcript ----

FINE: Pub 2.12.0-281.0.dev

@godofredoc is that possible?  Maybe the builder reservation isn't working and tests are running on top of each other?

Dart binary is being killed by syspolicyd, here is the log:
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket.appspot.com/8855844829915477168/+/steps/flutter_update-packages/0/stdout
And this is the system log:
2021-02-08 11:32:26.647411-0800 0x26c0     Activity    0x2cf3               1589   0    kextcache: (Security) SecTrustEvaluateIfNecessary
2021-02-08 11:32:26.657758-0800 0x27ad     Activity    0x2ce6               159    0    syspolicyd: (Security) SecTrustEvaluateIfNecessary
2021-02-08 11:32:26.675829-0800 0x26c0     Activity    0x2cf4               1589   0    kextcache: (Security) SecTrustEvaluateIfNecessary
2021-02-08 11:32:26.685574-0800 0x27ac     Activity    0x2ce7               159    0    syspolicyd: (Security) SecTrustEvaluateIfNecessary
2021-02-08 11:32:26.713786-0800 0x27c3     Default     0x0                  0      0    kernel: (AppleSystemPolicy) initiating malware scan (activeRulesVersion: 2282680166317295959 lastScanVersion: 2282680166317295959 chgtime: 1612812746 lastFileScanTime: 1612812670 pid: 1632 info_path: /opt/s/w/ir/cache/flutter sdk/bin/cache/dart-sdk/bin/dart proc_path: /opt/s/w/ir/cache/flutter sdk/bin/cache/dart-sdk/bin/dart
2021-02-08 11:32:26.713876-0800 0x27ac     Error       0x0                  159    0    syspolicyd: Unable (errno: 2) to read file at <private> for pid: 1632 process path: <private> library path: (null)
2021-02-08 11:32:26.713888-0800 0x27ac     Error       0x0                  159    0    syspolicyd: Terminating process due to Malware rejection: 1632, <private>
2021-02-08 11:32:26.713896-0800 0x27ac     Default     0x0                  0      0    kernel: build_userspace_exit_reason: illegal flags passed from userspace (some masked off) 0x141, ns: 9, code 0x8
2021-02-08 11:32:26.713906-0800 0x27c3     Default     0x0                  0      0    kernel: (AppleSystemPolicy) Sleep interrupted, signal 0x100
2021-02-08 11:32:26.713916-0800 0x27c3     Default     0x0                  0      0    kernel: (AppleSystemPolicy) Security policy would not allow process: 1632, /opt/s/w/ir/cache/flutter sdk/bin/cache/dart-sdk/bin/dart
2021-02-08 11:32:26.748602-0800 0x26c0     Activity    0x2cf5               1589   0    kextcache: (Security) SecTrustEvaluateIfNecessary
2021-02-08 11:32:26.772041-0800 0x27ad     Activity    0x2ce8               159    0    syspolicyd: (Security) SecTrustEvaluateIfNecessary
2021-02-08 11:32:26.774436-0800 0x951      Default     0x0                  0      0    kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO   ] [Short_Pluse] FB2 port = 3 at 160600112
2021-02-08 11:32:26.786534-0800 0x26c0     Activity    0x2cf6               1589   0    kextcache: (Security) SecTrustEvaluateIfNecessary

This was fixed by using non deterministic flutter sdk checkout paths.

authors: Hixie godofredoc jmagman jonasfj sigurdm


text:
State not maintained in web application

Created web application using instructions here: https://flutter.dev/docs/get-started/web
Changing the primarySwatch color and hot reloading the application with "r" command resets the click count to 0. Shouldn't the click count not supposed to change as mentioned in comments in "theme: ThemeData(...)" section?

@Tusshu Flutter web at the moment don't support hot reload yet, only hot restart is supported, you can see a mention to that on the Hot reload documentation here.

source: gharchive/issue

authors: Tusshu erickzanardo

repo: flutter/flutter

license_type: permissive

license_source: github-api


text:
[Documentation] Installing in Mac Catalina or higher

The problem
I had a problem installing flutter at my Macbook Air 2017 (OS version = Big Sur).
Step by step to reproduce

After doing exactly equal as the installing documentation, I restarted the computer
tried to run flutter doctor
Terminal was logging command not found

The Solution

I googled some solutions and I found that Mac Catalina or Higher requires Full Disk access to Terminal to get Flutter working, but I have no evidence it works (Anyway, I allowed this in preferences).
I found out that Mac Catalina or higher uses zsh with a .zprofile (not .zshrc nor .zshenv etc).
Then I added this to the .zprofile:
export PATH=$HOME/FLUTTER_DIR/flutter/bin:$PATH

AND..... IT WORKS!
Proposal
Consider adding a note at Get Started Documentation.
Best regards.

Hi @danielhrc
For a beginner, I understand this could be confusing especially if you're new to the Apple environment.
To propose this update in the getting started page, please file an issue on flutter/website repository
Thank you

authors: TahaTesser danielhrc


text:
[url_launcher] canLaunch returns false when launch works fine

Steps to Reproduce

Provide email  or phone scheme
Run canLaunch(uri)
Get false
Run launch(uri)
Get all working fine

  final mail = Uri(
    scheme: 'mailto',
    path: 'smith@example.com',
  );
  print('mail test: ${await canLaunch(mail.toString())}');
  final tel = Uri(
    scheme: 'tel',
    path: '88005553535',
  );
  print('tel test: ${await canLaunch(tel.toString())}');

Prints
mail test: false
tel test: false

But running launch(mail) or launch(tel) runs gmail or phone apps respectively

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.4, on Linux, locale ru_RU.UTF-8)
    • Flutter version 2.0.4 at /opt/flutter
    • Framework revision b1395592de (7 days ago), 2021-04-01 14:25:01 -0700
    • Engine revision 2dce47073a
    • Dart version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /data/nikto_b/Android/SDK/
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /data/nikto_b/Android/SDK/
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version openjdk version "1.8.0_242-release"
    • All Android licenses accepted.

[✓] Android Studio
    • Android Studio at /opt/android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version openjdk version "1.8.0_242-release"

[✓] IntelliJ IDEA Community Edition (version 2020.3)
    • IntelliJ at /usr/share/idea
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] Connected device (1 available)
    • Pixel 4 XL (mobile) • ############## • android-arm64 • Android 11 (API 30)

• No issues found!

Hi @niktob560
Did you try adding the queries element?
Which SDK you're targeting?

Hi @TahaTesser
targetSdkVersion is 30
Fixed by adding queries element
Duplicate of #63727, closing, thx


text:
Doctor should check for hardware VM accelleration

If a developer is configured for Android, then we should check if they have hardware acceleration configured. If not, Flutter will run very slow.
The command is:
$ ./emulator -accel-check
accel:
0
HAXM version 6.0.1 (3) is installed and usable.
accel

When the check fails, we should point developers at this URL:
https://developer.android.com/studio/run/emulator-acceleration.html

We could also fix this by moving non-HW GPUs to Software mode, like we did for iOS Simulators in https://github.com/flutter/flutter/issues/6135
See also https://github.com/flutter/flutter/issues/6822 and https://github.com/flutter/flutter/issues/6859 which also argue for software mode to be used on desktops.

authors: eseidelGoogle mit-mit


text:
Investigate running test suites in a single isolate

Context: https://github.com/flutter/flutter/issues/86722
Running all the tests in a test suite in a single isolate would significantly improve performance when gathering coverage data. It might be possible to refactor the test framework to do this automatically. If not, we should add documentation about the wrapper test pattern, for users who are running into significant performance issues when testing with coverage.

I noticed some improvements in test duration with coverage starting from 2.8.x. Was there any dedicated fix implemented in this version?

This change should have pretty much halved the time it takes to gather coverage: https://github.com/flutter/flutter/pull/90142.  That's probably what you noticed.

The biggest improvement we found was to use "wrapper pattern" where all the tests are copied into a single file and then run. The same suite was taking 5 min on GitHub Actions and now it's 3:40 where the bulk of the time is just flutter and pub installing. The tests itself got shorter from 2:55 min to 18 seconds with coverage.
import 'app/bloc/app_bloc_test.dart' as app_bloc_test;
import 'app/bloc/app_event_test.dart' as app_event_test;
import 'app/bloc/app_state_test.dart' as app_state_test;
import 'app/routes/routes_test.dart' as routes_test;
import 'app/view/app_test.dart' as app_test;
//...

void main() {
  app_bloc_test.main();
  app_event_test.main();
  app_state_test.main();
  routes_test.main();
  app_test.main();
  // continue...
}

Hi @orestesgaolin, This pattern seems to be working very fast.
The only issue we have been facing using it is that some tests fail when run inside the main function in a single file, running more than 2000 tests. I think it might be because some resources are being shared?
Any idea what might be a solution to this?

@orestesgaolin interesting approach.
We have hundreds of test files, generating this file manually is not viable.
Any idea how to generate with a script?

There's already a solution like that in very_good_cli when calling very_good test. I presume you could use bundled mason brick to just generate the combined test file if you don't want to use separate CLI.

@siavash-mohseni I've just opened a PR to very_good_cli adding support for @Tags annotation. With that, you could add the tag to some of the test files that seem to be broken when running through a single test file to debug the problem and even fix it incrementally.

authors: alansteiman liamappelbe mugbug orestesgaolin siavash-mohseni


text:
[web] Navigating out of the app and returning crash the debug session

Steps to Reproduce

First of all the version of Chrome is important. Version 94.0.4606.61 (Official Build) (64-bit) is the chrome version to use to reproduce this bug. I have tried with another version and it's working as expected (tried with Version 93.0.4577.82 (official Build)(x86_64).
Also working as expected with Brave browser

Run flutter create bug.
Update the files as follows:
add:

import 'dart:html';

And modify the _incrementCounter() to:
void _incrementCounter() {
    window.location.href = 'https://google.com'
  }

launch the web app with flutter run -d chrome --web-port 8080
tap on the + button
You are being redirected to google.com, wait for 5 to 10 sec then navigate back using the back button of the browser

Expected results:
The web app should reload correctly
Actual results:
white page, impossibility of reloading the web app

Logs

flutter run --web-port 8081 --verbose                                                                                 64 ✘
[  +42 ms] executing: uname -m
[  +20 ms] Exit code 0 from: uname -m
[        ] x86_64
[   +3 ms] executing: [/home/idelub/Development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +4 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] ffb2ecea5223acdd139a5039be2f9c796962833d
[        ] executing: [/home/idelub/Development/flutter/] git tag --points-at ffb2ecea5223acdd139a5039be2f9c796962833d
[   +9 ms] Exit code 0 from: git tag --points-at ffb2ecea5223acdd139a5039be2f9c796962833d
[        ] 2.5.1
[   +5 ms] executing: [/home/idelub/Development/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/home/idelub/Development/flutter/] git ls-remote --get-url origin
[   +2 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +49 ms] executing: [/home/idelub/Development/flutter/] git rev-parse --abbrev-ref HEAD
[   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +32 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +38 ms] executing: /home/idelub/Android/Sdk/platform-tools/adb devices -l
[  +21 ms] List of devices attached
[   +2 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +45 ms] Skipping pub get: version match.
[  +68 ms] Generating /home/idelub/Repository/Flutter/Bullfinch/testing/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +79 ms] Launching lib/main.dart on Chrome in debug mode...
[  +68 ms] Updating assets
[  +46 ms] Waiting for connection from debug service on Chrome...
[  +55 ms] <- reset
[   +4 ms] /home/idelub/Development/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/idelub/Development/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/idelub/Development/flutter/bin/cache/flutter_web_sdk/ --incremental
--target=dartdevc --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill /tmp/flutter_tools.GNZFGR/flutter_tool.QJJDDG/app.dill
--libraries-spec file:///home/idelub/Development/flutter/bin/cache/flutter_web_sdk/libraries.json --packages
/home/idelub/Repository/Flutter/Bullfinch/testing/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation
--filesystem-root /tmp/flutter_tools.GNZFGR/flutter_tools.UNQDRR --filesystem-scheme org-dartlang-app --initialize-from-dill build/b1b715402d823b7fd5c2b68d2edcb2ce.cache.dill.track.dill
--platform file:///home/idelub/Development/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk_sound.dill --sound-null-safety
[   +7 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+11151 ms] Waiting for connection from debug service on Chrome... (completed in 11.2s)
[        ] Synced 26.2MB.
[        ] <- accept
[        ] Caching compiled dill
[ +404 ms] Using Google Chrome 94.0.4606.61

[  +24 ms] executing: uname -m
[   +3 ms] Exit code 0 from: uname -m
[        ] x86_64
[ +122 ms] [CHROME]:
[        ] [CHROME]:DevTools listening on ws://127.0.0.1:39043/devtools/browser/b91d3fd8-bc23-48d0-9323-28654cd29fa8
[ +210 ms] DwdsInjector: Received request for entrypoint at http://localhost:8081/main_module.bootstrap.js
[   +2 ms] MetadataProvider: Loading debug metadata...
[   +8 ms] MetadataProvider: Loaded debug metadata (sound null safety)
[   +3 ms] DwdsInjector: Injected debugging metadata for entrypoint at http://localhost:8081/main_module.bootstrap.js
[+1545 ms] ChromeProxyService: Initializing expression compiler for main_module.bootstrap.js with sound null safety: true
[  +44 ms] DevHandler: Debug service listening on ws://127.0.0.1:34521/BsYkAtIcGuw=/ws

[  +14 ms] This app is linked to the debug service: ws://127.0.0.1:34521/BsYkAtIcGuw=/ws
[   +5 ms] Debug service listening on ws://127.0.0.1:34521/BsYkAtIcGuw=/ws
[        ] 💪 Running with sound null safety 💪
[   +2 ms] 🔥  To hot restart changes while running, press "r" or "R".
[        ] For a more detailed help message, press "h". To quit, press "q".
[        ] An Observatory debugger and profiler on Chrome is available at: http://127.0.0.1:34521/BsYkAtIcGuw=
[ +627 ms] DevTools activation throttled until 2021-09-28 04:27:02.347886.
[ +271 ms] The Flutter DevTools debugger and profiler on Chrome is available at: http://127.0.0.1:9103?uri=http://127.0.0.1:34521/BsYkAtIcGuw=
[+10748 ms] DwdsInjector: Received request for entrypoint at http://localhost:8081/main_module.bootstrap.js
[        ] MetadataProvider: Loading debug metadata...
[   +4 ms] MetadataProvider: Loaded debug metadata (sound null safety)
[   +1 ms] DwdsInjector: Injected debugging metadata for entrypoint at http://localhost:8081/main_module.bootstrap.js
[ +809 ms] ChromeProxyService: Initializing expression compiler for main_module.bootstrap.js with sound null safety: true

Flutter Doctor
```
flutter doctor -v                                                                                 ✔  14m 34s 
[✓] Flutter (Channel stable, 2.5.1, on Manjaro Linux 5.13.19-2-MANJARO, locale en_US.UTF-8)
    • Flutter version 2.5.1 at /home/idelub/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffb2ecea52 (10 days ago), 2021-09-17 15:26:33 -0400
    • Engine revision b3af521a05
    • Dart version 2.14.2
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /home/idelub/Android/Sdk
• Platform android-31, build-tools 31.0.0
• Java binary at: /opt/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• CHROME_EXECUTABLE = /usr/bin/google-chrome-stable
[✓] Android Studio (version 2020.3)
• Android Studio at /opt/android-studio
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
[✓] Connected device (1 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 94.0.4606.61
• No issues found!

</details>

I have the same problem on my project.
I think the problem is with updating chrome version 94.0.4606.61. It worked in an earlier version of chrome.

Hi @rmasarovic Thanks for filing the issue, I can reproduce the issue on the latest stable 2.5.1 and the
master 2.6.0-12.0.pre.98 channel
When navigating back from Google the app crashes with error code 6 and refresh does not work.

code sample
import 'package:flutter/material.dart';
import 'dart:html';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    window.location.href = 'https://google.com';
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              // Provide a Key to this specific Text widget. This allows
              // identifying the widget from inside the test suite,
              // and reading the text.
              key: const Key('counter'),
              style: Theme.of(context).textTheme.headline4,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        // Provide a Key to this button. This allows finding this
        // specific button inside the test suite, and tapping it.
        key: const Key('increment'),
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 2.5.1, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.5.1 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffb2ecea52 (11 days ago), 2021-09-17 15:26:33 -0400
    • Engine revision b3af521a05
    • Dart version 2.14.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.59.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.26.0

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • B622CBB7-F906-4FA7-8F49-FACEAAC905AB • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 94.0.4606.61

• No issues found!

[✓] Flutter (Channel master, 2.6.0-12.0.pre.98, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.6.0-12.0.pre.98 at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 48e6758fb5 (34 hours ago), 2021-09-26 21:28:03 -0400
    • Engine revision 65ad5a4836
    • Dart version 2.15.0 (build 2.15.0-150.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.5.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.59.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.26.0

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • B622CBB7-F906-4FA7-8F49-FACEAAC905AB • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 94.0.4606.61

• No issues found!

hi, thanks  for following up and you're welcome. Important to mention is the version of chrome
Chrome Version 94.0.4606.61 (Official Build) (64-bit)

@arnaudelub its included in flutter doctor output :)

Google Chrome 94.0.4606.61

Here's the browser console

There are no logs in the flutter console and the browser console looks like this

flutter clean && flutter pub get gets the app running again.
I just want to add that my app redirects the User to an Auth Server for login. After successful login, they are redirected back to my application.
This is the point where I receive the Error Code 6 in Chrome.

Same here. Google Chrome Apple Silicon Version 94.0.4606.61.
Unfortunately, I couldn't find older Apple Silicon versions for Chrome.
Temporary solution for x86_x64 (Also works on M1 Macs):
Find and download older versions for chrome, such as this one: https://google-chrome.en.uptodown.com/mac/download/3945248
And here's how to stop auto update on macOS:
defaults write com.google.Keystone.Agent checkInterval 0
https://www.stijit.com/tests-qa-automation/install-old-version-google-chrome-mac
Apple Silicon M1 macs are noticeably slower on Chrome x86_64 builds.

Downgrading Chrome worked for me

Another coworker tested fvm flutter run -d chrome --profile and it seemed to work as well, no debug unfortunately but at least it maintains oauth. Chrome decided to upgrade itself again on @tfreebern2 so not a long term solution having to downgrade every day.

Yeah, it's specifically the debug / devtools that are broken. --profile mode compiles differently and is meant for minimal debugging with production-like settings for performance testing. Debug uses the dartdevc compiler for easier debugging.

for the moment i am using Brave instead of chrome.
In you env, just change:
export CHROME_EXECUTABLE="/usr/bin/chrome"

to
export CHROME_EXECUTABLE="/usr/bin/brave"

or just add it if it's not present in your .bashrc or .zshenv.
And you  have to download Brave browser of course

Anyone try Chrome Beta to see if it's fixed there?

This looks like a Chrome bug. I'll file a Chrome issue.

I'm getting this with Google Chrome 95.0.4638.69 when I try to debug in either VSCode or Android Studio.

@arnaudelub When I installed Brave on Ubuntu 20.04, I have /usr/bin/brave-browser and usr/bin/brave-browser-stable.  I tried putting CHROME_EXECUTABLE="/usr/bin/brave-browserand get withflutter doctor -v`
[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /usr/bin/brave-browser

but it still opens in Chrome when I push F5 to debug in VSCode.
However, this time when I get "aw snap...blah blah sigill" if I refresh the browser several times I can actually run in debug mode with breakpoints.  I'll try brave-browser-stable next.

I have the same issue with Brave now.

Looks like this was fixed as of https://github.com/flutter/flutter/issues/90822#issuecomment-934885235.
For users who are experiencing a similar problem in later versions, please file a new issue with full context, flutter doctor -v, etc.

authors: arnaudelub bastosmichael christopherfujino fresnault maheshmnj mdrideout nyck33 semsturgut tfreebern2 yjbanov


text:
Support badges on Icon Widget

Use case/Problem
I couldn't find a native way to add badges to icons without doing some workaround with extra widgets. This seem to be allowed by the material design guidelines and they even show examples using it. Material design badging
I also found some open issues related with this topic, such as Add support for Badges on BottomNavigationBarItems.
Proposal
Extend Icon() API adding a badge like the follow example:
Icon.badge(
	Icons.settings,
	badge: Badge(
		visible: true,
		type: BadgeType.numeric,
		maxValue: 20
		value: 10),
);

Where the type would be enum with values like:
enum BadgeType {
	numeric,
	boolean,
}

In case of boolean
the badge only would display the single point at the corner of the Icon as follows.

In case of numeric
the badge would show the given value (or the max value with the + suffix if the value surpasses it)

Implementation-wise it may be nicer to just implement a badge widget that one could wrap around any widget, not just Icons.

@MCarlomagno
Since it's been a few months without PR, I'm unassigning you.
I'm gonna take this if you don't mind.

Is there any update on this issue?

closing for https://github.com/flutter/flutter/issues/114032

authors: MCarlomagno TahaTesser dposs goderbauer


text:
Losing state when using AutomaticKeepAliveClientMixin and ListView.builder

Steps to Reproduce

Use a ListView.builder to create a list of Stateful items with unique ValueKeys
Add a new item somewhere in the list
Observe as all items below the new item, lose their state.

I would expect that, since I am giving the items the same ValueKey, that their state would persist even if their place in the list changed, but state seems to always be lost if index changes.
https://user-images.githubusercontent.com/736973/142272214-89d616da-f6a5-4693-bbd8-8d716a95981a.mp4
Switching to ListView.children or SliverChildListDelegate it works as expected.
https://user-images.githubusercontent.com/736973/142274097-e3566341-fb2e-4edf-9bce-3ab72b2051aa.mp4
Code Sample:

class KeepAliveBuilderIssue extends StatefulWidget {
  const KeepAliveBuilderIssue({Key? key}) : super(key: key);

  @override
  State<KeepAliveBuilderIssue> createState() => _KeepAliveBuilderIssueState();
}

class _KeepAliveBuilderIssueState extends State<KeepAliveBuilderIssue> {
  int _nextItemId = 0;
  int createRandomListItem() => _nextItemId++;
  late final List<int> items = List.generate(100, (_) => createRandomListItem());
  @override
  Widget build(BuildContext context) {
    return Column(
      children: [
        TextButton(
          onPressed: () {
            setState(() => items.insert(2, createRandomListItem()));
          },
          child: const Text('Add item at index 2'),
        ),
        Expanded(
          child: ListView.builder(
            itemCount: items.length,
            itemBuilder: (_, index) => _StatefulListItem(key: ValueKey(items[index]), id: '${items[index]}'),
          ),
        ),
      ],
    );
  }
}

class _StatefulListItem extends StatefulWidget {
  const _StatefulListItem({Key? key, required this.id}) : super(key: key);
  final String id;

  @override
  State<_StatefulListItem> createState() => _StatefulListItemState();
}

class _StatefulListItemState extends State<_StatefulListItem> with AutomaticKeepAliveClientMixin {
  int _ticks = 0;
  late Timer _timer;
  @override
  void initState() {
    _timer = Timer.periodic(const Duration(seconds: 1), (timer) => setState(() => _ticks++));
    super.initState();
  }

  @override
  void dispose() {
    _timer.cancel();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Container(height: 30, child: Text('id: ${widget.id}, ticks: $_ticks', style: TextStyle(fontSize: 24)));
  }

  @override
  bool get wantKeepAlive => true;
}

[√] Flutter (Channel dev, 2.6.0-11.0.pre, on Microsoft Windows [Version 10.0.19042.685], locale en-US)
    • Flutter version 2.6.0-11.0.pre at C:\_dev\sdks\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4b330ddbed (9 weeks ago), 2021-09-16 17:29:58 -0700
    • Engine revision 5b81c6d615
    • Dart version 2.15.0 (build 2.15.0-116.0.dev)

Hi @esDotDev, thanks for filing the issue.
Can you share a sample that works according to your expectation so that it's easier to contrast the behaviors?
Thank you

Hi, the 2nd video shows the expected behavior: the other list items do not reset their state (tick count) when a new item is added.
Just swap out ListView.builder with ListView to see that,

Issue is reproducible on stable and master.

videos
using ListView.builder
https://user-images.githubusercontent.com/88313112/142577578-acc9dbae-50a5-44d0-8626-bdbef7b0888e.mp4
using ListView
https://user-images.githubusercontent.com/88313112/142577548-6a7be28a-d1e9-49ef-b090-eee4257dc098.mp4

flutter doctor -v
[✓] Flutter (Channel master, 2.6.0-12.0.pre.759, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.6.0-12.0.pre.759 at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 9bff08b79b (86 minutes ago), 2021-11-19 00:12:58 -0500
    • Engine revision a3ef1d5351
    • Dart version 2.16.0 (build 2.16.0-20.0.dev)
    • DevTools version 2.8.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.62.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.28.0

[✓] Connected device (4 available)
    • M2007J20CG (mobile) • 5dd3be00                             • android-arm64  • Android 11 (API 30)
    • iPhone 13 (mobile)  • 7515F01A-C1B6-456E-8559-8D2383D3719D • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • macOS (desktop)     • macos                                • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)        • chrome                               • web-javascript • Google Chrome 96.0.4664.55

• No issues found!

[✓] Flutter (Channel stable, 2.5.3, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.5.3 at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (5 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.0, Build version 13A233
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.62.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.28.0

[✓] Connected device (4 available)
    • M2007J20CG (mobile) • 5dd3be00                             • android-arm64  • Android 11 (API 30)
    • iPhone 13 (mobile)  • 7515F01A-C1B6-456E-8559-8D2383D3719D • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • macOS (desktop)     • macos                                • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)        • chrome                               • web-javascript • Google Chrome 96.0.4664.55

• No issues found!

@esDotDev the key you supply to items in https://github.com/flutter/flutter/issues/93809#issuecomment-972963411 is different from the one in the OP. Switching out the key to the "expected" one outputs the same results for both code samples to me. Can you take a look?

Ah, I see what you mean - builder and children behave differently if the key is ValueKey(items[i]).

authors: danagbemava-nc esDotDev nt4f04uNd


text:
[tool_crash] FileSystemException: Directory listing failed, OS Error: Permission denied, errno = 13

Command
flutter --no-color run --machine --track-widget-creation --device-id=52c7dd9b132aad15eb6fb89a1e83c6b55e62775d --start-paused --dart-define=flutter.inspector.structuredErrors=true lib/main.dart

Steps to Reproduce

...
...
...

Logs
FileSystemException: Directory listing failed, OS Error: Permission denied, errno = 13
#0      _Directory._fillWithDirectoryListing (dart:io-patch/directory_patch.dart:42:24)
#1      _Directory.listSync (dart:io/directory_impl.dart:243:5)
#2      ForwardingDirectory.listSync (package:file/src/forwarding/forwarding_directory.dart:43:12)
#3      ForwardingDirectory.listSync (package:file/src/forwarding/forwarding_directory.dart:43:12)
#4      RunCommand.usageValues (package:flutter_tools/src/commands/run.dart:423:14)
<asynchronous suspension>
#5      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1317:15)
<asynchronous suspension>
#6      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
<asynchronous suspension>
#7      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#8      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#9      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
<asynchronous suspension>
#10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#11     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
<asynchronous suspension>
#12     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#14     main (package:flutter_tools/executable.dart:94:3)

[✓] Flutter (Channel stable, 2.10.1, on macOS 12.2.1 21D62 darwin-x64, locale zh-Hans-CN)
    • Flutter version 2.10.1 at /Library/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision db747aa133 (9 days ago), 2022-02-09 13:57:35 -0600
    • Engine revision ab46186b24
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/mac/Library/Android/sdk
    • Platform android-32, build-tools 32.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[✓] Connected device (3 available)
    • SM N9760 (mobile) • RFCMA05SSNL                              • android-arm64  • Android 11 (API 30)
    • iPhone (mobile)   • 52c7dd9b132aad15eb6fb89a1e83c6b55e62775d • ios            • iOS 15.3.1 19D52
    • Chrome (web)      • chrome                                   • web-javascript • Google Chrome 98.0.4758.102

[☠] HTTP Host Availability (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ HandshakeException: Connection terminated during handshake
    •

! Doctor found issues in 1 category.

Flutter Application Metadata
Type: malformed
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: null
Creation framework version: null
Plugins
connectivity_plus-2.2.1
connectivity_plus_linux-1.3.0
connectivity_plus_macos-1.2.1
connectivity_plus_web-1.2.0
connectivity_plus_windows-1.2.0
device_info-2.0.3
file_picker-4.4.0
flutter_blue-0.8.0
flutter_bluetooth_serial-0.4.0
flutter_keyboard_visibility-5.1.1
flutter_keyboard_visibility_web-2.0.0
flutter_plugin_android_lifecycle-2.0.5
fluttertoast-8.0.8
gamepad_plugin
image_picker-0.8.4+9
image_picker_for_web-2.1.6
open_file-3.2.1
package_info-2.0.2
path_provider-2.0.8
path_provider_android-2.0.11
path_provider_ios-2.0.7
path_provider_linux-2.1.5
path_provider_macos-2.0.5
path_provider_windows-2.0.5
permission_handler-8.3.0
qr_code_scanner-0.6.1
shared_preferences-2.0.13
shared_preferences_android-2.0.10
shared_preferences_ios-2.0.9
shared_preferences_linux-2.0.4
shared_preferences_macos-2.0.2
shared_preferences_web-2.0.3
shared_preferences_windows-2.0.4
sqflite-2.0.2
url_launcher-6.0.20
url_launcher_android-6.0.15
url_launcher_ios-6.0.15
url_launcher_linux-3.0.0
url_launcher_macos-3.0.0
url_launcher_web-2.0.6
url_launcher_windows-3.0.0
vibration-1.7.4-nullsafety.0
vibration_web-1.6.3-nullsafety.0

repeated


text:
[framework] revert removal of opacity (#111202)

Framework side cherry pick for https://github.com/flutter/flutter/issues/111145
This requires https://github.com/flutter/engine/pull/35981

Merged branch to fix broken luci-tree status.

https://github.com/flutter/engine/pull/36022 has been merged into the release branch ahead of this cherry pick.

source: gharchive/pull-request

authors: itsjustkevin jonahwilliams


text:
118043 confusing flex docs need rewritten

Addresses #118043 but does not close it. This is a draft PR for review and feedback.

@ScottS2017 could you please revert the formatting changes here?  The Flutter repo doesn't use dartfmt to format code, per our style guide, so it makes it hard to tell what wording you mean to change, and what parts are just formatting changes.

(Triage) @ScottS2017 Are you still interested in following up on the feedback given above?

I am going to close this one since there has been no follow-up to the feedback given above. We have an issue on file (https://github.com/flutter/flutter/issues/118043) to not loose track of this. Feel free to reopen the PR when you find the time to work on this again.

@goderbauer I'm sorry I've been pulled in a ton of directions and didn't realize I'd been away from it so long. This repo is very much alive and well on my machine and is down to grammatical fixes. I'll try to get it finished within the next three weeks, due to my needing to finish two presentations in the next few days, have a job interview, and then am attending two conferences next week.
But this is very much still alive.

Github doesn't allow me to reopen this request because "The repository that submitted this pull request has been deleted". The easiest is probably if you just post a new PR. If you figure out how to restore the repository, I am also happy to reopen this PR if github allows it.

Thanks Michael, I submitted the PR under the same one as the draft PR. #149059

authors: ScottS2017 goderbauer gspencergoog


text:
Roll Flutter Engine from b59d779d4f7f to 29a3e3d49d56 (1 revision)

https://github.com/flutter/engine/compare/b59d779d4f7f...29a3e3d49d56
2023-10-13 skia-flutter-autoroll@skia.org Roll Skia from faad330e7120 to f27c0f222320 (1 revision) (flutter/engine#46869)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jsimmons@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


text:
Roll Flutter Engine from 68943afd62d1 to d37868617106 (2 revisions)

https://github.com/flutter/engine/compare/68943afd62d1...d37868617106
2024-02-01 skia-flutter-autoroll@skia.org Roll Skia from 505d22d0ecdc to 756276a133b1 (3 revisions) (flutter/engine#50232)
2024-02-01 skia-flutter-autoroll@skia.org Roll Skia from bcbc172f74da to 505d22d0ecdc (1 revision) (flutter/engine#50230)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


text:
Roll Flutter Engine from 8167dffd1914 to 2c472d7a7b96 (8 revisions)

https://github.com/flutter/engine/compare/8167dffd1914...2c472d7a7b96
2024-06-14 flar@google.com [Impeller] restore accidentally deleted Cap/Join benchmarks (flutter/engine#53385)
2024-06-13 matanlurey@users.noreply.github.com Add a FlutterEngineRule (JUnit TestRule) and use it in FlutterRendererTest (flutter/engine#53361)
2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from b21429b0ea78 to d248a9f99ff5 (2 revisions) (flutter/engine#53383)
2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from 40bdee9eedd6 to b21429b0ea78 (3 revisions) (flutter/engine#53382)
2024-06-13 flar@google.com [DisplayList] cull clip operations that can be trivially and safely ignored (flutter/engine#53367)
2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from 0f47a9333edb to 40bdee9eedd6 (2 revisions) (flutter/engine#53381)
2024-06-13 skia-flutter-autoroll@skia.org Roll Dart SDK from aa2265e5a192 to 115a9a2b26cd (5 revisions) (flutter/engine#53380)
2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from bf5a0e0dbf41 to 0f47a9333edb (2 revisions) (flutter/engine#53378)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC chinmaygarde@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


text:
Add test for expansion_panel_list.expansion_panel_list_radio.0_test.dart

Contributes to https://github.com/flutter/flutter/issues/130459
It adds a test for

examples/api/test/material/expansion_panel/expansion_panel_list.expansion_panel_list_radio.0_test.dart

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] I followed the breaking change policy and added Data Driven Fixes where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

It seems like there is a conflict

authors: TahaTesser ValentinVignal


text:
Bump minimum ios_deploy version

This may need secondary fixes for the newer iPhone versions

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

authors: cbracken jonahwilliams tvolkert


text:
Add await to future to please analyzer

closes #28156

@sjindel-google to make sure these semantics are correct (context: https://github.com/flutter/flutter/pull/25049#pullrequestreview-190057444)

authors: clocksmith tvolkert


text:
Roll engine 88113925e3a0..8584da2c2400 (2 commits)

https://github.com/flutter/engine/compare/88113925e3a0...8584da2c2400
git log 88113925e3a063bd6a249346aaa784e65772a25b..8584da2c24009e37cd142765071152b88019c469 --no-merges --oneline
8584da2c2 Roll src/third_party/skia dc19391eef52..70aab823547a (8 commits) (flutter/engine#8836)
1cdc16322 Roll src/third_party/dart 1577b95c93..dbe80f3397 (43 commits)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (amirha@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5328073225404416

Commit queue failed; closing this roll.


text:
Roll engine ff49ca1c6e5b..7ad538dcc80b (20 commits)

git@github.com:flutter/engine.git/compare/ff49ca1c6e5b...7ad538dcc80b
git log ff49ca1c6e5b..7ad538dcc80b --no-merges --oneline
2019-08-10 skia-flutter-autoroll@skia.org Roll fuchsia/sdk/core/linux-amd64 from HsuAH... to bvUCO... (flutter/engine#10822)
2019-08-10 bkonyi@google.com Roll src/third_party/dart ffefa124a7..e29d6d0ecb (4 commits)
2019-08-10 skia-flutter-autoroll@skia.org Roll src/third_party/skia af89d3972e0b..fe19203eb7d7 (5 commits) (flutter/engine#10819)
2019-08-10 bkonyi@google.com Roll src/third_party/dart 15a3bf82cb..ffefa124a7 (11 commits)
2019-08-09 chris@bracken.jp Roll Dart SDK 78ce916d82..15a3bf82cb (flutter/engine#10810)
2019-08-09 skia-flutter-autoroll@skia.org Roll src/third_party/skia b7b0b3ad538c..af89d3972e0b (7 commits) (flutter/engine#10812)
2019-08-09 jonahwilliams@google.com Revert "Remove flutter_kernel_sdk dart script (#10808)" (flutter/engine#10811)
2019-08-09 iska.kaushik@gmail.com [dart:zircon] Porting Cache re-usable handle wait objects (flutter/engine#10809)
2019-08-09 jonahwilliams@google.com Remove flutter_kernel_sdk dart script (flutter/engine#10808)
2019-08-09 cfontas@google.com change add part to add child (flutter/engine#10787)
2019-08-09 yjbanov@google.com rename stub_ui to web_ui (flutter/engine#10776)
2019-08-09 kpozin@google.com [fuchsia] Migrate from custom FuchsiaFontManager to SkFontMgr_fuchsia (flutter/engine#10700)
2019-08-09 skia-flutter-autoroll@skia.org Roll src/third_party/skia 26cedb4c603b..b7b0b3ad538c (11 commits) (flutter/engine#10807)
2019-08-09 egarciad@google.com Rename flutter_java.jar and flutter_engine.jar so they match the Maven comvention (flutter/engine#10797)
2019-08-09 skia-flutter-autoroll@skia.org Roll fuchsia/sdk/core/linux-amd64 from 9xVXx... to HsuAH... (flutter/engine#10806)
2019-08-09 bkonyi@google.com Roll src/third_party/dart 3d9a356f6e..78ce916d82 (7 commits)
2019-08-09 skia-flutter-autoroll@skia.org Roll src/third_party/skia b2151310068b..26cedb4c603b (1 commits) (flutter/engine#10804)
2019-08-09 skia-flutter-autoroll@skia.org Roll src/third_party/skia 059bf776c184..b2151310068b (3 commits) (flutter/engine#10803)
2019-08-09 bkonyi@google.com Roll src/third_party/dart f29f41f1a5..3d9a356f6e (65 commits)
2019-08-09 skia-flutter-autoroll@skia.org Roll src/third_party/skia 4d557e3df433..059bf776c184 (1 commits) (flutter/engine#10801)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (jimgraham@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5812926328340480

Commit queue failed; closing this roll.


text:
Roll engine ff49ca1c6e5b..4099cb14683f (25 commits)

git@github.com:flutter/engine.git/compare/ff49ca1c6e5b...4099cb14683f
git log ff49ca1c6e5b..4099cb14683f --no-merges --oneline
2019-08-11 skia-flutter-autoroll@skia.org Roll src/third_party/skia 5e7271a4598e..9c23a9e790b2 (1 commits) (flutter/engine#10838)
2019-08-11 skia-flutter-autoroll@skia.org Roll src/third_party/skia 3e7fa79f2c79..5e7271a4598e (1 commits) (flutter/engine#10827)
2019-08-10 skia-flutter-autoroll@skia.org Roll fuchsia/sdk/core/linux-amd64 from bvUCO... to xqsy5... (flutter/engine#10826)
2019-08-10 skia-flutter-autoroll@skia.org Roll src/third_party/skia 89e43889afd9..3e7fa79f2c79 (1 commits) (flutter/engine#10825)
2019-08-10 skia-flutter-autoroll@skia.org Roll src/third_party/skia fe19203eb7d7..89e43889afd9 (1 commits) (flutter/engine#10824)
2019-08-10 skia-flutter-autoroll@skia.org Roll fuchsia/sdk/core/linux-amd64 from HsuAH... to bvUCO... (flutter/engine#10822)
2019-08-10 bkonyi@google.com Roll src/third_party/dart ffefa124a7..e29d6d0ecb (4 commits)
2019-08-10 skia-flutter-autoroll@skia.org Roll src/third_party/skia af89d3972e0b..fe19203eb7d7 (5 commits) (flutter/engine#10819)
2019-08-10 bkonyi@google.com Roll src/third_party/dart 15a3bf82cb..ffefa124a7 (11 commits)
2019-08-09 chris@bracken.jp Roll Dart SDK 78ce916d82..15a3bf82cb (flutter/engine#10810)
2019-08-09 skia-flutter-autoroll@skia.org Roll src/third_party/skia b7b0b3ad538c..af89d3972e0b (7 commits) (flutter/engine#10812)
2019-08-09 jonahwilliams@google.com Revert "Remove flutter_kernel_sdk dart script (#10808)" (flutter/engine#10811)
2019-08-09 iska.kaushik@gmail.com [dart:zircon] Porting Cache re-usable handle wait objects (flutter/engine#10809)
2019-08-09 jonahwilliams@google.com Remove flutter_kernel_sdk dart script (flutter/engine#10808)
2019-08-09 cfontas@google.com change add part to add child (flutter/engine#10787)
2019-08-09 yjbanov@google.com rename stub_ui to web_ui (flutter/engine#10776)
2019-08-09 kpozin@google.com [fuchsia] Migrate from custom FuchsiaFontManager to SkFontMgr_fuchsia (flutter/engine#10700)
2019-08-09 skia-flutter-autoroll@skia.org Roll src/third_party/skia 26cedb4c603b..b7b0b3ad538c (11 commits) (flutter/engine#10807)
2019-08-09 egarciad@google.com Rename flutter_java.jar and flutter_engine.jar so they match the Maven comvention (flutter/engine#10797)
2019-08-09 skia-flutter-autoroll@skia.org Roll fuchsia/sdk/core/linux-amd64 from 9xVXx... to HsuAH... (flutter/engine#10806)
2019-08-09 bkonyi@google.com Roll src/third_party/dart 3d9a356f6e..78ce916d82 (7 commits)
2019-08-09 skia-flutter-autoroll@skia.org Roll src/third_party/skia b2151310068b..26cedb4c603b (1 commits) (flutter/engine#10804)
2019-08-09 skia-flutter-autoroll@skia.org Roll src/third_party/skia 059bf776c184..b2151310068b (3 commits) (flutter/engine#10803)
2019-08-09 bkonyi@google.com Roll src/third_party/dart f29f41f1a5..3d9a356f6e (65 commits)
2019-08-09 skia-flutter-autoroll@skia.org Roll src/third_party/skia 4d557e3df433..059bf776c184 (1 commits) (flutter/engine#10801)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (jimgraham@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/6364819358220288 , https://cirrus-ci.com/task/5238919451377664

Commit queue failed; closing this roll.


text:
Remove Toolchain and extend ToolConfiguration to locate host tools su…

…ch as sky_snapshot
Host tools can be found in the artifact cache directory for the host platform.
If a developer wants to use a local engine build instead, then provide an
--engine-build flag that selects the specific engine build variant.

@devoncarew

lgtm!

_findEnginePath is where the magic we were talking about is.
I think we should make _findEnginePath optional and determine that path automatically if --engine-build (--local-engine) is specified and --engine-src-path is not. Also probably rename it to --local-engine-src-path or some such.
And I really think we should yank all the old parameters at the same time --engine-debug, --engine-release, and all the various path arguments. They're all redundant with this change.

Renamed --engine-build to --local-engine

authors: Hixie devoncarew jason-simmons


text:
Update AppBar MediaQuery documentation

Description
Explain why you should consider wrapping AppBar in a MediaQuery
Related Issues
https://github.com/flutter/flutter/issues/27848
Tests
I added the following tests:
N/A
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.

@feinstein I made this section less elaborated (than promised), fearing it could be information overload for most readers. Please let me know if find it ambiguous or not helpful!

Reading it the first thing that crosses my mind is "why would the ambient MediaQuery change?
Maybe the details should be added (and pointed to) at the MediaQuery docs as it will be mostly related to it and you could go deeply there.

So I guess it's alright as the message conveys it's intent.

@googlebot I fixed it.

authors: LongCatIsLooong feinstein


text:
Add sample code to DefaultTextStyleTransition

Description
DefaultTextStyleTransition didn't have sample code, so I added it.
Reference: https://api.flutter.dev/flutter/widgets/DefaultTextStyleTransition-class.html
Related Issues
N/A
Tests
N/A. Only the doc changed.
Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I signed the [CLA].
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read [Handling breaking changes].

[x] No, no existing tests failed, so this is not a breaking change.

Hi @ny927 would you like to update this PR?

@Piinks I updated my branch. Thank you for letting me know.


text:
FloatingActionButton always keeps the same position when FloatingActionButtonLocation is top.

Description
Before

When extendBodyBehindAppBar is set false, FloatingActionButton is placed in AppBar.
When extendBodyBehindAppBar is set true, FloatingActionButton is placed in top of the screen.
But when FloatingActionButtonLocation is float or docked, whether it is true or false, it always keeps the same position.
So, I made it always keep the position when FloatingActionButtonLocation is top.
After

Whether it is true or false, FloatingActionButtonLocation always keeps the same position.
Related Issues
#63915
Tests
22729f4
20a2357
Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.

@gusghrlrl101 apparently this has not landed in master yet due to the failed tests?

@HansMuller
Could you take a look at this please?
It's been hanging on for some time.
Thanks. 😊

Would be nice if this could land at some point as it fixes past faulty behavior. @gusghrlrl101 @HansMuller

i think we forgot about its brother, extendBody that extends the body of the scaffold behind the app bar, this causes fab to go behind the bottom navigation bar

authors: BishopSam gusghrlrl101 rydmike


text:
Remove deprecated 'flutter build aot'

Description
Remove deprecated flutter build aot.
Related Issues
Fixes https://github.com/flutter/flutter/issues/49562
Golem has moved off this command b/172093077

yessssssssssssssss

authors: jmagman jonahwilliams


text:
Tweak visual appearance of CupertinoSwitch

This patch makes the CupertinoSwitch follow the style of the iOS switch
more accurately.

@Hixie @HansMuller

LGTM

@HansMuller We're not supposed to review patches without tests. :-)
...but LGTM anyway because we don't yet have reference tests.

authors: HansMuller Hixie abarth


text:
Fix rendereditable to check the latest text before setting the selection

When user taps on a textfield,  both the gesture recognizer on top of the editable text and the render editable will handle the tap. This is due to the renderEditable needs to be able to receive tap if any of its textspans have gesture recognizers.
This causes an issue if the gesture recognizer on top of the editable text changes the text in text editing controller. It took one frame for the text to propagate to renderEditable, and renderEditable may uses outdated text stored in its textpainter to handle the pointer events.
This pr adds a sanity check in rendereditable before it wants to set the selection in response of pointer events.
fixes https://github.com/flutter/flutter/issues/78918
Pre-launch Checklist

[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] I read the Tree Hygiene wiki page, which explains my responsibilities.
[ ] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[ ] I signed the CLA.
[ ] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

It looks like this caused some legitimate failures, e.g. here in rendering/editable_test.dart.

The problem seems to just be that the test needs to be updated to set the text value to its TextSelectionDelegate as well.

authors: chunhtai justinmc


text:
Fix flutter_tools BUILD.gn dependencies

This package now depends on collection and quiver. The package level
dependencies in the BUILD.gn file should match the list of dependencies
in the pubspec.yaml file for the Fuchsia build to function.

authors: abarth jamesr


text:
Roll Plugins from ace9e78bd3c3 to 8a95012fb037 (1 revision)

https://github.com/flutter/plugins/compare/ace9e78bd3c3...8a95012fb037
2021-11-13 stuartmorgan@google.com [path_provider] Publish fully federated version (flutter/plugins#4497)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins-flutter-autoroll
Please CC flutter-ecosystem@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.