text:
Don't run clang_tidy for ~25 minutes if no C/C++ code has been changed

Some example commits that triggered Clang tidy to run for ~25 minutes:
https://flutter.googlesource.com/mirrors/engine/+/1d63eece6c37aa467b1d4e1e1d564c9e84411417
https://flutter.googlesource.com/mirrors/engine/+/785b24900a360ed872d1f779a65d6c062ce69448

The current clang tidy always build two variants of the engine: android_debug_arm64 and host_debug and runs https://cs.opensource.google/flutter/engine/+/master:ci/lint.sh?q=ci%2Flint.sh&ss=flutter on the output of the builds using multiple shards. This is the reason they take a similar execution time independently of the files being touched.
If I understand correctly the proposal is to use gn/ninja to detect the impacted targets, run those targets and run clang tidy in their outputs. Is this correct?

My proposal is this:
If no C/C++ code has been changed in a PR than we know that clang-tidy can't find any new lints (as no relevant code was modified) and we shouldn't run it at all.

A concrete example:
If I land a PR that only touches *.md and *.dart files then running clang_tidy is unnecessary.

Also if I land a PR that only touches a.cc, why do I need to lint b.cc (unless some of the clang tidy lints are impacted by dependent changes?)

@johnmccutchan your proposal can be implemented with a run_if in .ci.yaml similar to https://cs.opensource.google/flutter/engine/+/main:.ci.yaml;l=362

https://github.com/flutter/engine/pull/44759 <- Adds runIf to linux_clang_tidy. We have it already on mac_clang_tidy. I'm not sure why the Linux one is missing it.

Thanks @zanderso, do you remember the reason for not using gn/ninja for test filtering? I remember an old conversation about this, maybe @dnfield remembers some of the details.

I think it's just slow period.

I think it's just slow period.

Interesting. Since I'm curious now and working a half day (dentist stuff) I might take a look today and see if anything stands out.

The runIf added in https://github.com/flutter/engine/pull/44759, appears not to be working as expected sometimes?
It correctly skipped the clang_tidy checks on https://github.com/flutter/engine/pull/44834.
@matanlurey could you link the instances you saw where it wasn't working correctly?

@matanlurey could you link the instances you saw where it wasn't working correctly?

I think we were mistaken or looking at older commits - newer commits seem to work as expected, for example:
https://github.com/flutter/engine/pull/44830/checks

I see https://github.com/flutter/engine/pull/44759 which ostensibly fixes this. Please re-open if I'm mistaken.

authors: chinmaygarde dnfield godofredoc johnmccutchan matanlurey zanderso


text:
After upgrading to Flutter 3.16 and XCode 15.0.1 I get Error vailability_version_check.cc(39)] Check failed on iOS less than 17

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
I upgraded my Flutter to version 3.16 and XCode 15.0.1
Expected results
The app should work after the upgrade
Actual results
Installing and launching...
[FATAL:flutter/shell/platform/darwin/common/availability_version_check.cc(39)] Check failed: AvailabilityVersionCheck.
Code sample
Code sample
Create a blank Flutter project.

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
aunching lib/main.dart on Developmet iphone 6 in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: C...........
Running pod install...
Running Xcode build...
Xcode build done.                                           39,6s
Installing and launching...
[FATAL:flutter/shell/platform/darwin/common/availability_version_check.cc(39)] Check failed: AvailabilityVersionCheck.

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.16.0, on macOS 14.1.1 23B81 darwin-arm64, locale en-ZA)
    • Flutter version 3.16.0 on channel stable at /Users/jacofourie/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision db7ef5bf9f (5 days ago), 2023-11-15 11:25:44 -0800
    • Engine revision 74d16627b9
    • Dart version 3.2.0
    • DevTools version 2.28.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/jacofourie/Library/Android/sdk
    • Platform android-34, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.14.2

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

[✓] Android Studio (version 2022.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 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.81.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (4 available)
    • Jaco’s iPhone 14 (mobile)    • 00008110-00110C9E1105401E                • ios            • iOS 17.1.1 21B91
    • Developmet iphone 6 (mobile) • 4781749bcc830a01bf3326c466d1d86cea0bc844 • ios            • iOS 12.5.7 16H81
    • macOS (desktop)              • macos                                    • darwin-arm64   • macOS 14.1.1 23B81 darwin-arm64
    • Chrome (web)                 • chrome                                   • web-javascript • Google Chrome 119.0.6045.159

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Same for me. Runs fine in the iPhone simulator though.
My development iPod is quite old and running iOS version 12.5.5 (I notice you are running iOS 12.5.7, @JacoFourie ). I suspect the minimum required iOS version has been bumped up and we're just out of luck :-(

@vashworth Is there a version compatibility matrix we can link to?

Same for me. Runs fine in the iPhone simulator though.
The app appears to get installed (the icon appears in the launcher), but when I tap it it shows the launch image then crashes back to the launcher, printing the following message in the Flutter debug console:
[FATAL:flutter/shell/platform/darwin/common/availability_version_check.cc(39)] Check failed: AvailabilityVersionCheck.
My development iPod is quite old and running iOS version 12.5.5 (I notice you are running iOS 12.5.7, @JacoFourie ). I suspect the minimum required iOS version has been bumped up and we're just out of luck :-(

https://docs.flutter.dev/reference/supported-platforms
This link states 11 - 15 is best effort, so it should still work. It was not in the breaking changes list. The iPhone 6 still runs my app fine.

Xcode 15 does not support iOS 11 (see https://github.com/fluttercommunity/plus_plugins/pull/2169).
I had the same issue, but fixed it by bumping the deployment target to iOS 12 in the podfile, and cleaning and rebuilding the project. (https://stackoverflow.com/a/64075795/13031778 but use iOS 12)

I suspect that https://github.com/flutter/flutter/issues/138711#issuecomment-1819758879 is the answer here.
The availability check implementation added in https://github.com/flutter/engine/pull/44711 was copied from clang's implementation from its iOS runtime library prior to an ABI breaking change to clang, which allowed Flutter to roll clang forward across the ABI break. Which is to say, the failures on iOS 12 in this issue and https://github.com/flutter/flutter/issues/135317 would be happening even without https://github.com/flutter/engine/pull/44711 and leaving clang pinned to the old version.
cc @chinmaygarde @leighajarett

Xcode 15 does not support iOS 11 (see fluttercommunity/plus_plugins#2169).
I had the same issue, but fixed it by bumping the deployment target to iOS 12 in the podfile, and cleaning and rebuilding the project. (https://stackoverflow.com/a/64075795/13031778 but use iOS 12)

Well this is obviously not the case as my device is iOS 12

3.16 also has the same problem

3.16 also has the same problem

It seems that my previous answer is incorrect. All of my other projects are failing on iOS 12 with Flutter 3.16 on this error, also on the Beta channel.

I had the same problem. Using the latest version 3.16 of Flutter. The AvailabilityVersionCheck error occurs. I went back to version 3.10.6 and the error stopped occurring.

Does this issue reproduce only with Xcode 15, or does it also happen with earlier versions of Xcode?
Also, folks should be aware of Flutter's issue hygiene policies, especially around comments: https://github.com/flutter/flutter/wiki/Issue-hygiene#comments. Please do not make "me too" comments that don't contribute new information---use the thumbs-up reaction on the original issue report, instead.

Why was this issue assigned a P1 priority? It should be P0, shouldn't it?

What is the status of this issue? It is a major one. You can not upgrade to version 3.16 as all your iOS version 12 and lower breaks. I only have an iOS 12 device.

Also happening here.
Every device with iOS 12.x is currently crashing.
Downgrading to 3.13.9 works as expected. I also think this issue should be P0.

Have the same problem here.
Iphone6 ios 12.5.7

i was changed channel master but i still get  EXC_BAD_ACCESS (code=1, address=0x1170000) on ios

I can confirm that my app is working on Channel master, 3.18.0-7.0.pre.88, on macOS 14.1.2 23B92 darwin-x64, locale nl-NL. The app however does crash after clicking on the home button (Thread 18: EXC_BAD_ACCESS (code=1, address=0xe04000)), but i don't think it is related to this issue.

What is de ETA for channel stable for this fix?

@juliansteenbakker @daomydong1995 I suspect that you might be hitting a different bug. Would you mind filing a new issue with full details?

FWIW, I am not able to reproduce the home button crash in the sample app.

@daomydong1995 @juliansteenbakker  I was encountering a similar error. When I updated Xcode to version 15.1, the issue was resolved.

The fix mentioned above was included in the 3.16.4 stable hotfix release.

Actually, apologies. The release announcement was mistaken. The change mentioned above will go out in the hotfix release next week.

source: gharchive/issue

authors: CyJaySong JacoFourie chinmaygarde daomydong1995 dickverweij diogofos egops felipecastrosales gokhanikisivri josh2112 juliansteenbakker mossmana nakhunchumpolsathien szuwest zanderso

repo: flutter/flutter

license_type: permissive

license_source: github-api


text:
Incorrect cursor position in RTL TextField

Steps to reproduce
Hello everyone, I am facing a problem with the TextField and the TextFormField widget when I set the app language to an RTL language.
When I try to enter the password, the cursor position is wrong
i think this issue is same like this https://github.com/flutter/flutter/issues/110416
Expected results
Position of the cursor at rtl language is on right side of textinput
Actual results
Position of the cursor at rtl language is on left side of text input
Code sample
Code sample
import 'package:flutter/material.dart';
import 'package:flutter_localizations/flutter_localizations.dart';

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',
      locale: const Locale("ar"),
      localizationsDelegates: const [
        GlobalMaterialLocalizations.delegate,
        GlobalWidgetsLocalizations.delegate,
        GlobalCupertinoLocalizations.delegate,
      ],
      supportedLocales: const [Locale("ar")],
      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
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: const Center(
        child: Padding(
          padding: EdgeInsets.all(16),
          child: TextField(),
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]
https://github.com/flutter/flutter/assets/16118227/50b53b66-c9d5-46c8-986d-1fcc008f166e

Flutter Doctor output
Doctor output

Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel stable, 3.16.5, on macOS 14.2.1 23C71 darwin-x64, locale ru-RU)
    • Flutter version 3.16.5 on channel stable at /Users/romanreed/flutter
    ! Warning: `dart` on your path resolves to /usr/local/Cellar/dart/3.0.5/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/romanreed/flutter. Consider adding
      /Users/romanreed/flutter/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 78666c8dc5 (3 weeks ago), 2023-12-19 16:14:14 -0800
    • Engine revision 3f3e560236
    • Dart version 3.2.3
    • DevTools version 2.28.4
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/romanreed/Library/Android/sdk
    • Platform android-34, build-tools 33.0.0
    • ANDROID_HOME = /Users/romanreed/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C65
    • CocoaPods version 1.12.1

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

[✓] Android Studio (version 2023.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
    • android-studio-dir = /Applications/Android Studio.app
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

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

[✓] Connected device (3 available)
    • iPhone 14 (mobile) • D9F64614-F08E-4E2E-8CED-2983A577CFC9 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     • macOS 14.2.1 23C71 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 120.0.6099.199

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Expected results
Position of the cursor at rtl language is on right side of textinput

Could you elaborate on the expected behavior? Since the paragraph's writing direction is RTL, it should be placed on the left side otherwise it weakens the password security by revealing the bidi properties of the password right?

@LongCatIsLooong If you try to enter a password in the ltr locale you will see this
https://github.com/flutter/flutter/assets/16118227/9a338d89-3999-4015-bc22-c34ae94117bc
but in the rtl language
https://github.com/flutter/flutter/assets/16118227/6c86ac98-408c-4b19-a633-eb3e5c1340f7
Expected results:
when you enter a password with the obscure position the cursor must be on the right side of textinput

@romreed I think this is similar to https://github.com/flutter/flutter/issues/71318 which had a correct sample code reproducing the issue (your sample code above is missing some TextField attributions: obscureText, textDirection). Could you confirm this?

@huycozy i think similar

authors: LongCatIsLooong huycozy romreed


text:
Flutter Platform View is 4K instead of 8K when playing 8K videos

Steps to reproduce

Create a Platform View
Attach an 8K display and set the display resolution to 8K 60.
Android wm size is 4K but the resolution is 8K
Use ExoPlayer to play an 8K video
Content displays as 4K unless the following code is added:

ViewGroup vg = (ViewGroup) activity.getWindow().getDecorView().getRootView();
vg.addView(surfaceView);

Expected results
The content should be 8K and I should be able to render things on top of the PlatformView.
Actual results
Content is looks like 4K resolution.
Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[!] Flutter (Channel stable, 3.16.0, on Pop!_OS 22.04 LTS 6.6.10-76060610-generic, locale en_US.UTF-8)
    • Flutter version 3.16.0 on channel stable at /home/username/apps/flutter
    ! The flutter binary is not on your path. Consider adding /home/username/apps/flutter/bin to your path.
    ! Warning: `dart` on your path resolves to /usr/lib/dart/bin/dart, which is not inside your current Flutter SDK checkout at /home/username/apps/flutter. Consider adding /home/username/apps/flutter/bin to
      the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision db7ef5bf9f (3 months ago), 2023-11-15 11:25:44 -0800
    • Engine revision 74d16627b9
    • Dart version 3.2.0
    • DevTools version 2.28.2
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /home/username/Android/Sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /home/username/apps/android-studio/jbr/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • Ubuntu clang version 14.0.0-1ubuntu1.1
    • cmake version 3.22.1
    • ninja version 1.10.1
    • pkg-config version 0.29.2

[✓] Android Studio (version 2022.3)
    • Android Studio at /home/username/apps/android-studio
    • Flutter plugin version 75.1.2
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.86.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.82.0

[✓] Connected device (3 available)
    • I RK3588 (mobile) • 192.168.126.223:5555 • android-arm64  • Android 12 (API 32)
    • Linux (desktop)   • linux                • linux-x64      • Pop!_OS 22.04 LTS 6.6.10-76060610-generic
    • Chrome (web)      • chrome               • web-javascript • Google Chrome 121.0.6167.184

[✓] Network resources
    • All expected network resources are available.

I have updated to Flutter 3.19.1 and the issue still persist.
I've replaced PlatformViewLink with a simple:
return AndroidView(
  viewType: viewType,
  layoutDirection: TextDirection.ltr,
);

Getting the ViewGroup with ViewGroup vg = (ViewGroup) activity.getWindow().getDecorView().getRootView();, I get the following children:

DecorView

Navigation Bar
Status Bar
MyOwnCreatedSurfaceView (that is 8K)
LinearLayout

FrameLayout

FlutterView

FlutterSurfaceView
This above allows me to render 8K content.

Though, if I just create the SurfaceView and give that to the PlatformViewFactory and then let Flutter engine handle it.
The quality of the rendered video is not 8K content.
The problem is that I cannot add anything on top of this SurfaceView now.

Thanks for the report @ScorpiosCrux
I am not entirely sure if 8K resolution is supported properly or not.
Does the expected behaviour occur natively in Android ?

No problem @darshankawar, thank you for the swift response!
The expected behaviour does occur natively on Android 12 when using the .xml file for layouts. I am also able to render it when the SurfaceView is not embedded in the FlutterView hierarchy.
This also occurs when the desktop (wm size) is 1080p and the resolution set in settings -> display -> 4K.
I believe Android's UI supports a maximum of 4K resolution and 8K is not supported but content can still be rendered at that resolution.
Another interesting note that may or may not be of help is that the wm density is about 360 where the actual density is 136.

Thanks for the feedback. Can you provide us a reproducible code sample or a repo that we can clone directly and verify this further ?

Hello, I have created a repository:
8K Example
You will need an 8K video file, upload it on to the device and replace the hard coded video URI in android/app/src/main/java/com/example/example_8k/MainActivity.java to wherever you decided to push the 8K file.
I have linked my 8K video file here but feel free to use your own. 8K 24FPS.
You guys can toggle off and on the hack in android/app/src/main/java/com/example/example_8k/PlayerView.java line 33.

Thanks for the update. I followed above steps to replicate by cloning the repo and adding the given file and seem to replicate the reported behavior. I tried on Android.
I am unable to attach the video here though because of its size.
Based on the report and behavior, I'll keep the issue open for team's input / tracking.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.19.1, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.19.1 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision abb292a07e (6 days ago), 2024-02-20 14:35:05 -0800
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.20.0-13.0.pre.31, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.20.0-13.0.pre.31 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d8503febb1 (2 hours ago), 2024-02-25 23:42:25 -0500
    • Engine revision fd3136782a
    • Dart version 3.4.0 (build 3.4.0-175.0.dev)
    • DevTools version 2.33.0-dev.11
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/dhs/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

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

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

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

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

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Thank you!

@darshankawar Do you know if this issue will be fixed as 8K TVs are slowly rising.
For my company's application, 8K resolution is needed and we need to be able to display an overlay on top of it. And this issue is a blocker in our timeline.
Could you suggest any workarounds that can allow me to display 8K resolution whilst having some text overlayed on top of the 8K surface? The text does not need to be 8K resolution.

I got the same problem while playing 4K on Android 1080p ui resolution. It played in 1080p. My test video is here https://dls.ssscast.com/4k.mp4

@ScorpiosCrux can you please provide a self contained reproduction and share it with us?

@ScorpiosCrux can you please provide a self contained reproduction and share it with us?

@johnmccutchan Hello, would you like me to add some steps for emulating the hardware? Or are you expecting a docker container?
I have the example repository here:  https://github.com/ScorpiosCrux/flutter-8k-bug/tree/main/flutter/example_8k

Any updates on this?

I am having the same issue, this is a significant functionality that I need

I've implemented a cleaner solution which makes more sense than add the SurfaceView to the decor view.
FrameLayout frameLayout = new FrameLayout(activity);
FrameLayout.LayoutParams params = new FrameLayout.LayoutParams(
        ViewGroup.LayoutParams.MATCH_PARENT,
        ViewGroup.LayoutParams.MATCH_PARENT);
activity.getWindow().addContentView(frameLayout, params);

frameLayout.addView(surfaceView);

Reproducible on Flutter 1.22.3 by the way. Some more detailed steps and information here: https://github.com/flutter/flutter/issues/152136

authors: AnaCoda ScorpiosCrux bailyzheng darshankawar johnmccutchan


text:
Refresh Indicator With SingleChildScrollView With BouncingScrollPhysics, Page Offset Jump After Refresh

Steps to reproduce
When using Refresh indicator with SingleChildScrollView with physic BouncingScrollPhysics, Page jump after using refresh. this is not the case in version 3.16. but since 13.19 and now in version 3.22.1 it still happens.

Refresh indicator with SingleChildScrollView with physic BouncingScrollPhysics, it's error
But Refresh indicator with ListView with physic BouncingScrollPhysics, it's fine

Expected results
Refresh indicator with ListView with physic BouncingScrollPhysics,
Screen_recording_20240524_102754.webm
Actual results
Refresh indicator with SingleChildScrollView with physic BouncingScrollPhysics,
Screen_recording_20240524_101517.webm
Code sample
Code sample With SingleChildScrollView
import 'dart:async';

import 'package:flutter/material.dart';
import 'package:flutter_hooks/flutter_hooks.dart';

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

class MyApp extends HookWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    final isLoading = useState(false);
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text("Refresh Indicator")),
        body: RefreshIndicator(
          onRefresh: () async {
            isLoading.value = true;
            Future.delayed(
                const Duration(seconds: 3), () => isLoading.value = false);
          },
          child: SingleChildScrollView(
            physics: const AlwaysScrollableScrollPhysics(
                parent: BouncingScrollPhysics()),
            padding: const EdgeInsets.symmetric(horizontal: 20),
            child: Column(
              children: List.generate(
                100,
                (_) => isLoading.value
                    ? Row(children: [
                        const CircularProgressIndicator(),
                        const SizedBox(width: 5),
                        Text("loading $_")
                      ])
                    : Text("data $_"),
              )
                  .expand(
                    (_) => [_, const SizedBox(height: 10)],
                  )
                  .toList(),
            ),
          ),
        ),
      ),
    );
  }
}

Code sample With ListView

import 'dart:async';

import 'package:flutter/material.dart';
import 'package:flutter_hooks/flutter_hooks.dart';

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

class MyApp extends HookWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    final isLoading = useState(false);
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text("Refresh Indicator")),
        body: RefreshIndicator(
          onRefresh: () async {
            isLoading.value = true;
            Future.delayed(
                const Duration(seconds: 3), () => isLoading.value = false);
          },
          child: ListView(
            physics: const AlwaysScrollableScrollPhysics(
                parent: BouncingScrollPhysics()),
            padding: const EdgeInsets.symmetric(horizontal: 20),
            children: List.generate(
              100,
              (_) => isLoading.value
                  ? Row(children: [
                      const CircularProgressIndicator(),
                      const SizedBox(width: 5),
                      Text("loading $_")
                    ])
                  : Text("data $_"),
            )
                .expand(
                  (_) => [_, const SizedBox(height: 10)],
                )
                .toList(),
          ),
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.22.1, on macOS 14.4.1 23E224 darwin-arm64, locale en-ID)
    • Flutter version 3.22.1 on channel stable at /Users/User/Downloads/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a14f74ff3a (35 hours ago), 2024-05-22 11:08:21 -0500
    • Engine revision 55eae6864b
    • Dart version 3.4.1
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/User/Library/Android/sdk
    • Platform android-34, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2023.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 17.0.10+0-17.0.10b1087.21-11572160)

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

[✓] Connected device (4 available)
    • sdk gphone arm64 (mobile)       • emulator-5554         • android-arm64  • Android 11 (API 30) (emulator)
    • macOS (desktop)                 • macos                 • darwin-arm64   • macOS 14.4.1 23E224 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin         • macOS 14.4.1 23E224 darwin-arm64
    • Chrome (web)                    • chrome                • web-javascript • Google Chrome 125.0.6422.76

[✓] Network resources
    • All expected network resources are available.

Thanks for filing the issue. I can reproduce this as well. I add the updated sample code below that doesn't use 3rd package (flutter_hooks).

Sample code of SingleChildScrollView without using flutter_hooks
import 'package:flutter/material.dart';

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

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  final isLoading = ValueNotifier<bool>(false);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text("Refresh Indicator")),
        body: RefreshIndicator(
          onRefresh: () async {
            isLoading.value = true;
            Future.delayed(const Duration(seconds: 3), () => isLoading.value = false);
          },
          child: SingleChildScrollView(
            physics: const AlwaysScrollableScrollPhysics(parent: BouncingScrollPhysics()),
            padding: const EdgeInsets.symmetric(horizontal: 20),
            child: ValueListenableBuilder(
              valueListenable: isLoading,
              builder: (BuildContext context, bool value, Widget? child) {
                return Column(
                  children: List.generate(
                    100,
                    (_) => isLoading.value ? Row(children: [const CircularProgressIndicator(), const SizedBox(width: 5), Text("loading $_")]) : Text("data $_"),
                  )
                      .expand(
                        (_) => [_, const SizedBox(height: 10)],
                      )
                      .toList(),
                );
              },
            ),
          ),
        ),
      ),
    );
  }
}

Sample code of ListView without using flutter_hooks
import 'package:flutter/material.dart';

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

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  final isLoading = ValueNotifier<bool>(false);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text("Refresh Indicator")),
        body: RefreshIndicator(
          onRefresh: () async {
            isLoading.value = true;
            Future.delayed(const Duration(seconds: 3), () => isLoading.value = false);
          },
          child: ValueListenableBuilder(
            valueListenable: isLoading,
            builder: (BuildContext context, bool value, Widget? child) {
              return ListView(
                physics: const AlwaysScrollableScrollPhysics(parent: BouncingScrollPhysics()),
                padding: const EdgeInsets.symmetric(horizontal: 20),
                children: List.generate(
                  100,
                  (_) => isLoading.value ? Row(children: [const CircularProgressIndicator(), const SizedBox(width: 5), Text("loading $_")]) : Text("data $_"),
                )
                    .expand(
                      (_) => [_, const SizedBox(height: 10)],
                    )
                    .toList(),
              );
            },
          ),
        ),
      ),
    );
  }
}

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.22.1, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.22.1 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a14f74ff3a (11 hours ago), 2024-05-22 11:08:21 -0500
    • Engine revision 55eae6864b
    • Dart version 3.4.1
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode15.3.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

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

[✓] Android Studio (version 2023.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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 125.0.6422.76

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.23.0-3.0.pre.1, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.23.0-3.0.pre.1 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 1317046ef8 (62 minutes ago), 2024-05-23 22:35:13 -0400
    • Engine revision d78f667533
    • Dart version 3.5.0 (build 3.5.0-187.0.dev)
    • DevTools version 2.36.0-dev.10
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode15.3.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

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

[✓] Android Studio (version 2023.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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

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

[✓] Connected device (4 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D                         • android-arm64  • Android 11 (API 30)
    • iPhone (mobile)  • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.8 19H370
    • macOS (desktop)  • macos                                    • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome                                   • web-javascript • Google Chrome 125.0.6422.76

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Thanks for filing the issue. I can reproduce this as well. I add the updated sample code below that doesn't use 3rd package (flutter_hooks).
Sample code of SingleChildScrollView without using flutter_hooks
Sample code of ListView without using flutter_hooks
flutter doctor -v (stable and master)

Thank you for your attention

Any news?

authors: huycozy icorradi-inco rafurqan


text:
Debug version of a 'flutter create' project gets quarantined by McAfee on Windows 11 provided the name of the project is bob

Steps to reproduce
Following issue has been reproduced on two separate windows 11 machines running McAfee Total Protection with Real-Time Scanning running.  Account running McAfee is an admin account, while development is done in a non admin account

Using the cmd line find a place to create a new project
Enter the following command: flutter create bob
Once complete, follow the instructions to run the program, i.e.
4.1. enter 'cd bob', and
4.2. then 'flutter run' selecting windows target
This results in the exe being quarantined as a 'the file contains a virus or potentially unwanted software'

You can create the exe by running the following command from the project folder
flutter build windows --debug
But attempting to run the exe results in a failure as the file is quarantined
Creating a release build does not show any errors
Creating other projects with any other name does not result in this issue, e.g. project name bobby
An alternative workaround is to turn off real time scanning, but I'll not be doing that
Also note that I don't need a project called bob, I only did created this project to help debug a problem my son is having with flame, but thought you'd want to know about this weird scenario we came across
Expected results
The sample project should start
Actual results
Following screen show is the output seen in my dos window
flutter run
Connected devices:
Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.4037]
Chrome (web)      • chrome  • web-javascript • Google Chrome 128.0.6613.86
Edge (web)        • edge    • web-javascript • Microsoft Edge 128.0.2739.42
[1]: Windows (windows)
[2]: Chrome (chrome)
[3]: Edge (edge)
Please choose one (or "q" to quit): 1
Launching lib\main.dart on Windows in debug mode...
Building Windows application...                                    21.6s
√ Built build\windows\x64\runner\Debug\bob.exe
Unable to start executable "build\windows\x64\runner\Debug\bob.exe": ProcessException: Operation did not complete
successfully because the file contains a virus or potentially unwanted software.

  Command: C:\otherstuff\delme\bob\build\windows\x64\runner\Debug\bob.exe
ProcessException: Operation did not complete successfully because the file contains a virus or potentially unwanted
software.

  Command: C:\otherstuff\delme\bob\build\windows\x64\runner\Debug\bob.exe

Also for reference here is what McAfee reports

Adding text here so that it is searchable
We just stopped a threat
action taken

Wondering where it came from? Most virus attacks come from web downloads and email attachments

Code sample
Code sample
Nothing to see here, as none of the code is changed by myself before the issue presents

Beyond Compare diff of binary
In an attempt to try and figure out what was going on I have tried to diff the project that does work with a project that does work (called bobby) and the following screen grab shows the only diff between the kernal_blob.bin file that is inside the data\flutter_assets sub folder of the Debug folder that contains the exe (prior to it being quarantined)

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
C:\otherstuff\delme\bob>flutter run --verbose
[ +186 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +4 ms] 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.
[        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' 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.
[  +70 ms] executing: C:\Users\Chirag\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +83 ms] List of devices attached
[  +10 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.
[   +9 ms] 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.
[  +99 ms] Connected devices:
[  +46 ms] Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.4037]
[        ] Chrome (web)      • chrome  • web-javascript • Google Chrome 128.0.6613.86
[        ] Edge (web)        • edge    • web-javascript • Microsoft Edge 128.0.2739.42
[        ] [1]: Windows (windows)
[        ] [2]: Chrome (chrome)
[        ] [3]: Edge (edge)
[   +1 ms] Please choose one (or "q" to quit)
[        ] :
[+6226 ms] 1
[  +10 ms] Skipping pub get: version match.
[  +99 ms] Generating
C:\otherstuff\delme\bob\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +123 ms] No packages with native assets. Skipping native assets compilation.
[   +3 ms] Initializing file store
[   +6 ms] Skipping target: gen_localizations
[   +2 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have
updated contents: C:\otherstuff\delme\bob\.dart_tool\package_config_subset}
[  +47 ms] gen_dart_plugin_registrant: Complete
[   +1 ms] Skipping target: _composite
[   +1 ms] complete
[   +3 ms] Launching lib\main.dart on Windows in debug mode...
[   +2 ms] C:\otherstuff\flutter\bin\cache\dart-sdk\bin\dartaotruntime.exe --disable-dart-dev
C:\otherstuff\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server_aot.dart.snapshot --sdk-root
C:\otherstuff\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter
--experimental-emit-debug-metadata --output-dill
C:\Users\Chirag\AppData\Local\Temp\flutter_tools.6999dc71\flutter_tool.8e37103d\app.dill --packages
C:\otherstuff\delme\bob\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts
--track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build\cache.dill.track.dill
--verbosity=error --enable-experiment=alternative-invalidation-strategy
[  +17 ms] executing: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -products *
-utf8 -latest -version 16 -requires Microsoft.VisualStudio.Workload.NativeDesktop
Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.VC.CMake.Project
[  +47 ms] Exit code 0 from: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -products
* -utf8 -latest -version 16 -requires Microsoft.VisualStudio.Workload.NativeDesktop
Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.VC.CMake.Project
[        ] [
             {
               "instanceId": "89f84eac",
               "installDate": "2022-05-04T21:17:20Z",
               "installationName": "VisualStudio/17.1.6+32421.90",
               "installationPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community",
               "installationVersion": "17.1.32421.90",
               "productId": "Microsoft.VisualStudio.Product.Community",
               "productPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Common7\\IDE\\devenv.exe",
               "state": 4294967295,
               "isComplete": true,
               "isLaunchable": true,
               "isPrerelease": false,
               "isRebootRequired": false,
               "displayName": "Visual Studio Community 2022",
               "description": "Powerful IDE, free for students, open-source contributors, and individuals",
               "channelId": "VisualStudio.17.Release",
               "channelUri": "https://aka.ms/vs/17/release/channel",
               "enginePath": "C:\\Program Files (x86)\\Microsoft Visual
               Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
               "installedChannelUri": "https://aka.ms/vs/17/release/channel",
               "releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.1#17.1.6",
               "thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288",
               "updateDate": "2022-05-04T21:17:20.9387855Z",
               "catalog": {
                 "buildBranch": "d17.1",
                 "buildVersion": "17.1.32421.90",
                 "id": "VisualStudio/17.1.6+32421.90",
                 "localBuild": "build-lab",
                 "manifestName": "VisualStudio",
                 "manifestType": "installer",
                 "productDisplayVersion": "17.1.6",
                 "productLine": "Dev17",
                 "productLineVersion": "2022",
                 "productMilestone": "RTW",
                 "productMilestoneIsPreRelease": "False",
                 "productName": "Visual Studio",
                 "productPatchVersion": "6",
                 "productPreReleaseMilestoneSuffix": "1.0",
                 "productSemanticVersion": "17.1.6+32421.90",
                 "requiredEngineVersion": "3.1.2204.3969"
               },
               "properties": {
                 "campaignId": "2030:307372c0-ba24-4be1-9649-b3b571651dbb",
                 "channelManifestId": "VisualStudio.17.Release/17.1.6+32421.90",
                 "nickname": "",
                 "setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe"
               }
             }
           ]
[   +3 ms] Building Windows application...
[  +51 ms] <- compile package:bob/main.dart
[   +2 ms] executing: C:\Program Files\Microsoft Visual
Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -S
C:\otherstuff\delme\bob\windows -B C:\otherstuff\delme\bob\build\windows\x64 -G Visual Studio 17 2022 -A x64
-DFLUTTER_TARGET_PLATFORM=windows-x64
[  +67 ms] -- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.22631.
[  +20 ms] -- Configuring done
[  +40 ms] -- Generating done
[   +2 ms] -- Build files have been written to: C:/otherstuff/delme/bob/build/windows/x64
[  +18 ms] executing: C:\Program Files\Microsoft Visual
Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe --build
C:\otherstuff\delme\bob\build\windows\x64 --config Debug --target INSTALL --verbose
[ +157 ms] Microsoft (R) Build Engine version 17.1.0+ae57d105c for .NET Framework
[        ] Copyright (C) Microsoft Corporation. All rights reserved.
[  +62 ms] Build started 02/09/2024 12:54:31.
[ +210 ms] Project "C:\otherstuff\delme\bob\build\windows\x64\INSTALL.vcxproj" on node 1 (default targets).
[        ] Project "C:\otherstuff\delme\bob\build\windows\x64\INSTALL.vcxproj" (1) is building
"C:\otherstuff\delme\bob\build\windows\x64\ZERO_CHECK.vcxproj" (2) on node 1 (default targets).
[   +1 ms] InitializeBuildStatus:
[        ]   Creating "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[  +26 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[  +25 ms] FinalizeBuildStatus:
[        ]   Deleting file "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
[        ]   Touching "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
[        ] Done Building Project "C:\otherstuff\delme\bob\build\windows\x64\ZERO_CHECK.vcxproj" (default targets).
[  +76 ms] Project "C:\otherstuff\delme\bob\build\windows\x64\INSTALL.vcxproj" (1) is building
"C:\otherstuff\delme\bob\build\windows\x64\ALL_BUILD.vcxproj" (3) on node 1 (default targets).
[        ] Project "C:\otherstuff\delme\bob\build\windows\x64\ALL_BUILD.vcxproj" (3) is building
"C:\otherstuff\delme\bob\build\windows\x64\runner\bob.vcxproj" (4) on node 1 (default targets).
[        ] Project "C:\otherstuff\delme\bob\build\windows\x64\runner\bob.vcxproj" (4) is building
"C:\otherstuff\delme\bob\build\windows\x64\flutter\flutter_assemble.vcxproj" (5) on node 1 (default targets).
[        ] InitializeBuildStatus:
[        ]   Creating "x64\Debug\flutter_assemble\flutter_assemble.tlog\unsuccessfulbuild" because "AlwaysCreate" was
specified.
[   +6 ms] CustomBuild:
[        ]   "The build of
'C:\otherstuff\delme\bob\build\windows\x64\CMakeFiles\ae125e58c2cd7a993d3d981e9a447f08\flutter_assemble.rule' depends on
'C:\OTHERSTUFF\DELME\BOB\WINDOWS\FLUTTER\EPHEMERAL\FLUTTER_WINDOWS.DLL' which is produced by the build of
'C:\otherstuff\delme\bob\build\windows\x64\CMakeFiles\82a3602e4b4479593a107eefce29f5e6\flutter_windows.dll.rule'. The
items cannot be built in parallel."
[  +78 ms]   Generating C:/otherstuff/delme/bob/windows/flutter/ephemeral/flutter_windows.dll,
C:/otherstuff/delme/bob/windows/flutter/ephemeral/flutter_export.h,
C:/otherstuff/delme/bob/windows/flutter/ephemeral/flutter_windows.h,
C:/otherstuff/delme/bob/windows/flutter/ephemeral/flutter_messenger.h,
C:/otherstuff/delme/bob/windows/flutter/ephemeral/flutter_plugin_registrar.h,
C:/otherstuff/delme/bob/windows/flutter/ephemeral/flutter_texture_registrar.h,
C:/otherstuff/delme/bob/windows/flutter/ephemeral/cpp_client_wrapper/core_implementations.cc,
C:/otherstuff/delme/bob/windows/flutter/ephemeral/cpp_client_wrapper/standard_codec.cc,
C:/otherstuff/delme/bob/windows/flutter/ephemeral/cpp_client_wrapper/plugin_registrar.cc,
C:/otherstuff/delme/bob/windows/flutter/ephemeral/cpp_client_wrapper/flutter_engine.cc,
C:/otherstuff/delme/bob/windows/flutter/ephemeral/cpp_client_wrapper/flutter_view_controller.cc, _phony_
[ +729 ms]   [  +70 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms]   [   +3 ms] 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.
[        ]   [        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[        ]   [   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' 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.
[  +62 ms]   [  +70 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[   +1 ms]   [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[   +1 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.
[        ]   [        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ]   [   +1 ms] 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.
[        ]   [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[  +49 ms]   [  +55 ms] Initializing file store
[  +11 ms]   [  +12 ms] Done initializing file store
[  +48 ms]   [  +48 ms] Skipping target: gen_localizations
[   +5 ms]   [   +5 ms] Skipping target: gen_dart_plugin_registrant
[+2289 ms]   [+2288 ms] unpack_windows: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have
updated contents:
C:\otherstuff\delme\bob\windows\flutter\ephemeral\flutter_windows.dll,C:\otherstuff\delme\bob\windows\flutter\ephemeral\
flutter_windows.dll.exp,C:\otherstuff\delme\bob\windows\flutter\ephemeral\flutter_windows.dll.pdb}
[ +487 ms]   [ +488 ms] Skipping target: kernel_snapshot_program
[   +1 ms]   [   +1 ms] unpack_windows: Complete
[+1249 ms]   [+1248 ms] Skipping target: native_assets
[        ]   [        ] Skipping target: kernel_snapshot_native_assets
[        ]   [        ] Skipping target: kernel_snapshot
[ +173 ms]   [ +174 ms] debug_bundle_windows-x64_assets: Starting due to {InvalidatedReasonKind.outputMissing: The
following outputs were missing: C:\otherstuff\delme\bob\build\flutter_assets\kernel_blob.bin}
[ +102 ms]   [ +102 ms] shaderc command: [C:\otherstuff\flutter\bin\cache\artifacts\engine\windows-x64\impellerc.exe,
--sksl, --runtime-stage-gles, --runtime-stage-vulkan, --iplr,
--sl=C:\otherstuff\delme\bob\build\flutter_assets\shaders/ink_sparkle.frag,
--spirv=C:\otherstuff\delme\bob\build\flutter_assets\shaders/ink_sparkle.frag.spirv,
--input=C:\otherstuff\flutter\packages\flutter\lib\src\material\shaders\ink_sparkle.frag, --input-type=frag,
--include=C:\otherstuff\flutter\packages\flutter\lib\src\material\shaders,
--include=C:\otherstuff\flutter\bin\cache\artifacts\engine\windows-x64\shader_lib]
[ +489 ms]   [ +489 ms] debug_bundle_windows-x64_assets: Complete
[ +152 ms]   [ +152 ms] Persisting file store
[   +5 ms]   [   +5 ms] Done persisting file store
[   +4 ms]   [   +4 ms] build succeeded.
[   +6 ms]   [   +7 ms] "flutter assemble" took 5,168ms.
[  +78 ms]   [  +78 ms] ensureAnalyticsSent: 47ms
[        ]   [        ] Running 1 shutdown hook
[        ]   [        ] Shutdown hooks complete
[   +3 ms]   [   +4 ms] exiting with code 0
[  +72 ms] FinalizeBuildStatus:
[        ]   Deleting file "x64\Debug\flutter_assemble\flutter_assemble.tlog\unsuccessfulbuild".
[        ]   Touching "x64\Debug\flutter_assemble\flutter_assemble.tlog\flutter_assemble.lastbuildstate".
[        ] Done Building Project "C:\otherstuff\delme\bob\build\windows\x64\flutter\flutter_assemble.vcxproj" (default
targets).
[  +22 ms] Project "C:\otherstuff\delme\bob\build\windows\x64\runner\bob.vcxproj" (4) is building
"C:\otherstuff\delme\bob\build\windows\x64\flutter\flutter_wrapper_app.vcxproj" (6) on node 1 (default targets).
[   +1 ms] InitializeBuildStatus:
[        ]   Creating "flutter_wrapper_app.dir\Debug\flutter_.467F225E.tlog\unsuccessfulbuild" because "AlwaysCreate"
was specified.
[        ] CustomBuild:
[        ]   All outputs are up-to-date.
[  +38 ms] ClCompile:
[        ]   All outputs are up-to-date.
[  +15 ms] Lib:
[        ]   All outputs are up-to-date.
[        ]   flutter_wrapper_app.vcxproj ->
C:\otherstuff\delme\bob\build\windows\x64\flutter\Debug\flutter_wrapper_app.lib
[   +9 ms] FinalizeBuildStatus:
[   +1 ms]   Deleting file "flutter_wrapper_app.dir\Debug\flutter_.467F225E.tlog\unsuccessfulbuild".
[        ]   Touching "flutter_wrapper_app.dir\Debug\flutter_.467F225E.tlog\flutter_wrapper_app.lastbuildstate".
[        ] Done Building Project "C:\otherstuff\delme\bob\build\windows\x64\flutter\flutter_wrapper_app.vcxproj"
(default targets).
[   +4 ms] InitializeBuildStatus:
[        ]   Creating "bob.dir\Debug\bob.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[        ] CustomBuild:
[        ]   All outputs are up-to-date.
[  +17 ms] ClCompile:
[        ]   C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\bin\HostX64\x64\CL.exe /c
/IC:\otherstuff\delme\bob\windows /IC:\otherstuff\delme\bob\windows\flutter\ephemeral
/IC:\otherstuff\delme\bob\windows\flutter\ephemeral\cpp_client_wrapper\include /Zi /nologo /W4 /WX /diagnostics:column
/Od /Ob0 /D _UNICODE /D UNICODE /D WIN32 /D _WINDOWS /D _HAS_EXCEPTIONS=0 /D _DEBUG /D "FLUTTER_VERSION=\"1.0.0+1\"" /D
FLUTTER_VERSION_MAJOR=1 /D FLUTTER_VERSION_MINOR=0 /D FLUTTER_VERSION_PATCH=0 /D FLUTTER_VERSION_BUILD=1 /D NOMINMAX /D
UNICODE /D _UNICODE /D "CMAKE_INTDIR=\"Debug\"" /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
/Zc:inline /GR /std:c++17 /Fo"bob.dir\Debug\\" /Fd"bob.dir\Debug\vc143.pdb" /external:W4 /Gd /TP /wd4100
/errorReport:queue C:\otherstuff\delme\bob\windows\flutter\generated_plugin_registrant.cc
C:\otherstuff\delme\bob\windows\runner\flutter_window.cpp
[  +68 ms]   generated_plugin_registrant.cc
[ +293 ms]   flutter_window.cpp
[ +601 ms]   Generating Code...
[  +59 ms] ResourceCompile:
[        ]   All outputs are up-to-date.
[  +27 ms] Link:
[        ]   C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\bin\HostX64\x64\link.exe
/ERRORREPORT:QUEUE /OUT:"C:\otherstuff\delme\bob\build\windows\x64\runner\Debug\bob.exe" /INCREMENTAL
/ILK:"bob.dir\Debug\bob.ilk" /NOLOGO ..\flutter\Debug\flutter_wrapper_app.lib dwmapi.lib
C:\otherstuff\delme\bob\windows\flutter\ephemeral\flutter_windows.dll.lib kernel32.lib user32.lib gdi32.lib winspool.lib
shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker'
uiAccess='false'" /manifest:embed /manifestinput:C:\otherstuff\delme\bob\windows\runner\runner.exe.manifest /DEBUG
/PDB:"C:/otherstuff/delme/bob/build/windows/x64/runner/Debug/bob.pdb" /SUBSYSTEM:WINDOWS /TLBID:1 /DYNAMICBASE /NXCOMPAT
/IMPLIB:"C:/otherstuff/delme/bob/build/windows/x64/runner/Debug/bob.lib" /MACHINE:X64  /machine:x64
bob.dir\Debug\Runner.res
[   +1 ms]   bob.dir\Debug\flutter_window.obj
[        ]   bob.dir\Debug\main.obj
[        ]   bob.dir\Debug\utils.obj
[        ]   bob.dir\Debug\win32_window.obj
[        ]   bob.dir\Debug\generated_plugin_registrant.obj
[  +67 ms]   LINK : C:\otherstuff\delme\bob\build\windows\x64\runner\Debug\bob.exe not found or not built by the last
incremental link; performing full link
[ +159 ms]   bob.vcxproj -> C:\otherstuff\delme\bob\build\windows\x64\runner\Debug\bob.exe
[  +10 ms] FinalizeBuildStatus:
[        ]   Deleting file "bob.dir\Debug\bob.tlog\unsuccessfulbuild".
[        ]   Touching "bob.dir\Debug\bob.tlog\bob.lastbuildstate".
[        ] Done Building Project "C:\otherstuff\delme\bob\build\windows\x64\runner\bob.vcxproj" (default targets).
[  +18 ms] Project "C:\otherstuff\delme\bob\build\windows\x64\ALL_BUILD.vcxproj" (3) is building
"C:\otherstuff\delme\bob\build\windows\x64\flutter\flutter_wrapper_plugin.vcxproj" (7) on node 1 (default targets).
[        ] InitializeBuildStatus:
[        ]   Creating "flutter_wrapper_plugin.dir\Debug\flutter_.2AA79113.tlog\unsuccessfulbuild" because "AlwaysCreate"
was specified.
[   +1 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[  +11 ms] ClCompile:
[        ]   All outputs are up-to-date.
[   +4 ms] Lib:
[        ]   All outputs are up-to-date.
[        ]   flutter_wrapper_plugin.vcxproj ->
C:\otherstuff\delme\bob\build\windows\x64\flutter\Debug\flutter_wrapper_plugin.lib
[   +4 ms] FinalizeBuildStatus:
[        ]   Deleting file "flutter_wrapper_plugin.dir\Debug\flutter_.2AA79113.tlog\unsuccessfulbuild".
[        ]   Touching "flutter_wrapper_plugin.dir\Debug\flutter_.2AA79113.tlog\flutter_wrapper_plugin.lastbuildstate".
[        ] Done Building Project "C:\otherstuff\delme\bob\build\windows\x64\flutter\flutter_wrapper_plugin.vcxproj"
(default targets).
[   +5 ms] InitializeBuildStatus:
[        ]   Creating "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[   +1 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[   +7 ms] FinalizeBuildStatus:
[        ]   Deleting file "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild".
[        ]   Touching "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\ALL_BUILD.lastbuildstate".
[        ] Done Building Project "C:\otherstuff\delme\bob\build\windows\x64\ALL_BUILD.vcxproj" (default targets).
[   +4 ms] InitializeBuildStatus:
[        ]   Creating "x64\Debug\INSTALL\INSTALL.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[  +58 ms] PostBuildEvent:
[        ]   setlocal
[   +1 ms]   "C:\Program Files\Microsoft Visual
Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -DBUILD_TYPE=Debug -P
cmake_install.cmake
[   +1 ms]   if %errorlevel% neq 0 goto :cmEnd
[        ]   :cmEnd
[        ]   endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
[        ]   :cmErrorLevel
[        ]   exit /b %1
[        ]   :cmDone
[        ]   if %errorlevel% neq 0 goto :VCEnd
[        ]   :VCEnd
[  +61 ms]   -- Install configuration: "Debug"
[   +1 ms]   -- Up-to-date: C:/otherstuff/delme/bob/build/windows/x64/runner/Debug/data/icudtl.dat
[        ]   -- Up-to-date: C:/otherstuff/delme/bob/build/windows/x64/runner/Debug/flutter_windows.dll
[        ]   -- Up-to-date: C:/otherstuff/delme/bob/build/windows/x64/runner/Debug
[   +6 ms]   -- Installing: C:/otherstuff/delme/bob/build/windows/x64/runner/Debug/data/flutter_assets
[        ]   -- Installing: C:/otherstuff/delme/bob/build/windows/x64/runner/Debug/data/flutter_assets/AssetManifest.bin
[        ]   -- Installing:
C:/otherstuff/delme/bob/build/windows/x64/runner/Debug/data/flutter_assets/AssetManifest.json
[        ]   -- Installing: C:/otherstuff/delme/bob/build/windows/x64/runner/Debug/data/flutter_assets/FontManifest.json
[        ]   -- Installing: C:/otherstuff/delme/bob/build/windows/x64/runner/Debug/data/flutter_assets/fonts
[        ]   -- Installing:
C:/otherstuff/delme/bob/build/windows/x64/runner/Debug/data/flutter_assets/fonts/MaterialIcons-Regular.otf
[   +3 ms]   -- Installing: C:/otherstuff/delme/bob/build/windows/x64/runner/Debug/data/flutter_assets/kernel_blob.bin
[  +69 ms]   -- Installing: C:/otherstuff/delme/bob/build/windows/x64/runner/Debug/data/flutter_assets/NOTICES.Z
[   +1 ms]   -- Installing: C:/otherstuff/delme/bob/build/windows/x64/runner/Debug/data/flutter_assets/packages
[        ]   -- Installing:
C:/otherstuff/delme/bob/build/windows/x64/runner/Debug/data/flutter_assets/packages/cupertino_icons
[        ]   -- Installing:
C:/otherstuff/delme/bob/build/windows/x64/runner/Debug/data/flutter_assets/packages/cupertino_icons/assets
[        ]   -- Installing:
C:/otherstuff/delme/bob/build/windows/x64/runner/Debug/data/flutter_assets/packages/cupertino_icons/assets/CupertinoIcon
s.ttf
[        ]   -- Installing: C:/otherstuff/delme/bob/build/windows/x64/runner/Debug/data/flutter_assets/shaders
[        ]   -- Installing:
C:/otherstuff/delme/bob/build/windows/x64/runner/Debug/data/flutter_assets/shaders/ink_sparkle.frag
[  +11 ms] FinalizeBuildStatus:
[        ]   Deleting file "x64\Debug\INSTALL\INSTALL.tlog\unsuccessfulbuild".
[   +1 ms]   Touching "x64\Debug\INSTALL\INSTALL.tlog\INSTALL.lastbuildstate".
[        ] Done Building Project "C:\otherstuff\delme\bob\build\windows\x64\INSTALL.vcxproj" (default targets).
[        ] Build succeeded.
[        ]     0 Warning(s)
[        ]     0 Error(s)
[        ] Time Elapsed 00:00:08.18
[  +31 ms] Building Windows application... (completed in 8.6s)
[   +3 ms] √ Built build\windows\x64\runner\Debug\bob.exe
[ +889 ms] Unable to start executable "build\windows\x64\runner\Debug\bob.exe": ProcessException: Operation did not
complete
                    successfully because the file contains a virus or potentially unwanted software.

                      Command: C:\otherstuff\delme\bob\build\windows\x64\runner\Debug\bob.exe
[   +2 ms] ProcessException: Operation did not complete successfully because the file contains a virus or potentially
unwanted
           software.

             Command: C:\otherstuff\delme\bob\build\windows\x64\runner\Debug\bob.exe
[   +1 ms] "flutter run" took 16,506ms.
[  +27 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:874:9)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command.dart:1408:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure>
           (package:flutter_tools/src/runner/flutter_command_runner.dart:420:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:130:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
           <asynchronous suspension>
           #10     main (package:flutter_tools/executable.dart:93:3)
           <asynchronous suspension>

[  +40 ms] ensureAnalyticsSent: 37ms
[        ] Running 2 shutdown hooks
[   +5 ms] Shutdown hooks complete
[  +30 ms] exiting with code 1

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.24.1, on Microsoft Windows [Version 10.0.22631.4037], locale en-GB)
[✓] Windows Version (Installed version of Windows is version 10 or higher)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0-rc1)
[✓] Chrome - develop for the web
[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.1.6)
[✓] Android Studio (version 2023.2)
[✓] VS Code (version 1.92.2)
[✓] Connected device (3 available)
[✓] Network resources

White listing the SDK did not clear the issue when I tried it (sorry did not mention that in the above)
White listing the project exe created is also not an option as (in this case) McAfee sees each compiled exe as different.
Also as stated, this issue only happens when the name of the project is 'bob'
That said, you obviously have more experience here than me, so keep it closed if that is what is seen as the right action.

Also as stated, this issue only happens when the name of the project is 'bob'
That said, you obviously have more experience here than me, so keep it closed if that is what is seen as the right action.

Hi @mistrc, my apologies, I missed that, however, this is not really a flutter issue. It seems that bob.exe is linked to some nsfw content along with other potential viruses so the mcafee database is designed to treat it as such. I found several references to this after googling bob.exe

Oh I see, thanks for the response
I'll have to find our how to find that McAfee db checklist thing so I can find it myself next time

authors: danagbemava-nc mistrc


text:
DropdownMenu can not be center aligned when using expandedInsets

Steps to reproduce

Put a dropdown in a Center widget and put that inside an Expanded widget
Use expandedInsets

Expected results
The dropdown should be centered
Actual results
The dropdown sticks to the top
Code sample
Code sample
Row(
  mainAxisAlignment: MainAxisAlignment.center,
  children: <Widget>[
    Expanded(
      child: Center(
        child: DropdownMenu<int>(
          inputDecorationTheme: const InputDecorationTheme(
            helperMaxLines: 5,
            border: OutlineInputBorder()
          ),
          expandedInsets: const EdgeInsets.symmetric(horizontal: 40),
          helperText: "Some long helper text.",
          initialSelection: 1,
          label: const Text("A number"),
          onSelected: (final int? num) {
          },
          dropdownMenuEntries:
            [1, 2, 3].map<DropdownMenuEntry<int>>(
              (final int num) {
                return DropdownMenuEntry<int>(
                  value: num,
                  label: "$num"
                );
              }
            ).toList(),
        ),
      ),
    ),
    Expanded(
      child: Center(
        child: DropdownMenu<double>(
          inputDecorationTheme: const InputDecorationTheme(
            helperMaxLines: 5,
            border: OutlineInputBorder()
          ),
          expandedInsets: const EdgeInsets.symmetric(horizontal: 40),
          helperText: "Long text.",
          initialSelection: 1.0,
          label: const Text("Another"),
          onSelected: (final double? num) {
          },
          dropdownMenuEntries:
            [1.0, 2.0, 3.0].map<DropdownMenuEntry<double>>(
              (final double num) {
                return DropdownMenuEntry<double>(
                  value: num,
                  label: "$num"
                );
              }
            ).toList(),
        ),
      ),
    ),
  ]
),

https://github.com/flutter/flutter/blob/aef2758716b806ec2d567b519dba0bf0643d9031/packages/flutter/lib/src/material/dropdown_menu.dart#L951-L970

The second code block above seems to be the issue.
Screenshots or Video

Dropdowns stuck to the top

Remove `expandedInsets` and it comes down to the center but we lose the full width

Logs
NA
Flutter Doctor output
Doctor output
% flutter doctor -v
[✓] Flutter (Channel stable, 3.24.1, on macOS 12.7.6 21H1320 darwin-x64, locale en-GB)
    • Flutter version 3.24.1 on channel stable at /Users/<user>/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5874a72aa4 (5 weeks ago), 2024-08-20 16:46:00 -0500
    • Engine revision c9b9d5780d
    • Dart version 3.5.1
    • DevTools version 2.37.2

[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/<user>/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/to/macos-android-setup for more details.

[!] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    ! Flutter recommends a minimum Xcode version of 15.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.15.2

[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google
    Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Android Studio (version 2023.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 17.0.9+0-17.0.9b1087.7-11185874)

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

[✓] Connected device (2 available)
    • iPhone 14 Pro Max (mobile) • 1C6417FB-1C3E-4088-B3BD-8BD3E816ADD5 • ios        •
      com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
    • macOS (desktop)            • macos                                • darwin-x64 • macOS 12.7.6 21H1320 darwin-x64

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 3 categories.

Reproducible using the code sample provided above.

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

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

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

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

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

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {

    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Center(

        child: Row(mainAxisAlignment: MainAxisAlignment.center, children: <Widget>[
          Expanded(
            child: Center(
              child: DropdownMenu<int>(
                inputDecorationTheme: const InputDecorationTheme(helperMaxLines: 5, border: OutlineInputBorder()),
                expandedInsets: const EdgeInsets.symmetric(horizontal: 40),
                helperText: "Some long helper text.",
                initialSelection: 1,
                label: const Text("A number"),
                onSelected: (final int? num) {},
                dropdownMenuEntries: [1, 2, 3].map<DropdownMenuEntry<int>>((final int num) {
                  return DropdownMenuEntry<int>(value: num, label: "$num");
                }).toList(),
              ),
            ),
          ),
          Expanded(
            child: Center(
              child: DropdownMenu<double>(
                inputDecorationTheme: const InputDecorationTheme(helperMaxLines: 5, border: OutlineInputBorder()),
                // expandedInsets: const EdgeInsets.symmetric(horizontal: 40),
                helperText: "Long text.",
                initialSelection: 1.0,
                label: const Text("Another"),
                onSelected: (final double? num) {},
                dropdownMenuEntries: [1.0, 2.0, 3.0].map<DropdownMenuEntry<double>>((final double num) {
                  return DropdownMenuEntry<double>(value: num, label: "$num");
                }).toList(),
              ),
            ),
          ),
        ]),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 3.24.3, on macOS 15.0 24A335 darwin-arm64, locale en-US)
    • Flutter version 3.24.3 on channel stable at /Users/deanli/dev/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (12 days ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[!] Flutter (Channel master, 3.26.0-1.0.pre.183, on macOS 15.0 24A335 darwin-arm64, locale en-US)
    • Flutter version 3.26.0-1.0.pre.183 on channel master at /Users/deanli/dev/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6c8ca4cbd6 (5 hours ago), 2024-09-23 22:57:25 -0400
    • Engine revision 4013dc28a4
    • Dart version 3.6.0 (build 3.6.0-270.0.dev)
    • DevTools version 2.40.0-dev.1


text:
Should suppor to add an icon in the SnackBarAction

Now only support a String .
why not use a widget?

Hm, I wonder why we require that the action be a SnackbarAction.

authors: Hixie realcarlos


text:
Unable to dismiss popup menu in specific iOS devices with voiceover

Copied from Google internal issue b/374241149. See this issue for more context, links, and repro video.
Unable to dismiss the popup menu by double tapping outside the menu in voice over mode in specific iOS devices.
PopupMenuButton pushes _PopupMenuRoute which extends PopupRoute which extends ModalRoute which uses  for rendering the scrim.
The double tap to dismiss is handled by the ModalBarrier by calling Navigator.maybePop().
Issue: This particular call is getting stuck in some iPhones (Example: My test device is an iPhone XR with iOS version 15.5). I tested this in the Hello Flutter codelab app.
Upon further debugging, its getting stuck at exactly await lastEntry.route.willPop().
lastEntry.route here is _PopupMenuRoute.
Tracing the willPop() implementations using debug print statements, I observed the following:

_PopupMenuRoute does not have willPop() implementation.
PopupRoute does not have willPop() implementation.
ModalRoute's willPop() completes and calls super.willPop().
LocalHistoryRoute's willPop() completes and calls super.willPop().
... no other implementations of willPop() in between.
Route's willPop() is called.
But apparently the last call is getting stuck for some reason because await lastEntry.route.willPop() is stuck without a return value here: https://github.com/flutter/flutter/blob/1d5087eb30382a763b17ddaff68011383faaa7d4/packages/flutter/lib/src/widgets/navigator.dart#L5335

Repro project
The bug can be reproduced in any flutter app with the following:
PopupMenuButton<int>(
  // Set tooltip to empty to prevent the screen reader announcing
  // 'show menu'.
  tooltip: '',
  itemBuilder: (context) {
    return [
      PopupMenuItem<int>(
        value: 1,
        child: Text('Item 1'),
      ),
      PopupMenuItem<int>(
        value: 2,
        child: Text('Item 2'),
      ),
      PopupMenuItem<int>(
        value: 3,
        child: Text('Item 3'),
      ),
    ];
  },
),

Reproduced this issue on iOS (VoiceOver) with iPhone 7, iOS 15.8 and Android (TalkBack) with Pixel 7, Android 14.
This looks like a regression as the issue only appears on Flutter beta and master channels but not on stable 3.24.3.

stable 3.24.3: ✅
beta 3.27.0-0.1.pre: ❗
master 3.27.0-1.0.pre.181: ❗

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

/// Flutter code sample for [PopupMenuButton].

// This is the type used by the popup menu below.
enum SampleItem { itemOne, itemTwo, itemThree }

void main() => runApp(const PopupMenuApp());

class PopupMenuApp extends StatelessWidget {
  const PopupMenuApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: PopupMenuExample(),
    );
  }
}

class PopupMenuExample extends StatefulWidget {
  const PopupMenuExample({super.key});

  @override
  State<PopupMenuExample> createState() => _PopupMenuExampleState();
}

class _PopupMenuExampleState extends State<PopupMenuExample> {
  SampleItem? selectedItem;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('PopupMenuButton')),
      body: Center(
        child: PopupMenuButton<SampleItem>(
          initialValue: selectedItem,
          tooltip: '',
          onSelected: (SampleItem item) {
            setState(() {
              selectedItem = item;
            });
          },
          itemBuilder: (BuildContext context) => <PopupMenuEntry<SampleItem>>[
            const PopupMenuItem<SampleItem>(
              value: SampleItem.itemOne,
              child: Text('Item 1'),
            ),
            const PopupMenuItem<SampleItem>(
              value: SampleItem.itemTwo,
              child: Text('Item 2'),
            ),
            const PopupMenuItem<SampleItem>(
              value: SampleItem.itemThree,
              child: Text('Item 3'),
            ),
          ],
        ),
      ),
    );
  }
}

Demo video on iOS device
https://github.com/user-attachments/assets/bc27521c-b61f-41c5-b19f-6643174adb50

flutter versions (stable, beta and master)
[✓] Flutter (Channel stable, 3.24.3, on macOS 15.0 24A335 darwin-x64, locale en-VN)
    • Flutter version 3.24.3 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (3 weeks ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[!] Flutter (Channel beta, 3.27.0-0.1.pre, on macOS 15.0 24A335 darwin-x64, locale en-VN)
    • Flutter version 3.27.0-0.1.pre on channel beta at /Users/huynq/Documents/GitHub/flutter_beta
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_beta. Consider adding /Users/huynq/Documents/GitHub/flutter_beta/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_beta. Consider adding /Users/huynq/Documents/GitHub/flutter_beta/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2e2c358c9b (12 hours ago), 2024-10-22 11:02:13 -0400
    • Engine revision af0f0d559c
    • Dart version 3.6.0 (build 3.6.0-334.3.beta)
    • DevTools version 2.40.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[!] Flutter (Channel master, 3.27.0-1.0.pre.181, on macOS 15.0 24A335 darwin-x64, locale en-VN)
    • Flutter version 3.27.0-1.0.pre.181 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7504abcc14 (45 minutes ago), 2024-10-23 10:20:40 +0800
    • Engine revision 2d3f0f41b9
    • Dart version 3.7.0 (build 3.7.0-50.0.dev)
    • DevTools version 2.40.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

Marking this issue as P1 to match the internal bug.

This is interesting. Hi @justinmc since you have touched this part before, I wonder if you have bandwidth to look into this?

We suspect the same issue is causing b/372446456

@huycozy Strangely I wasn't able to reproduce this using your code when I tried on a physical iPhone 7 iOS 15.6.1 with voiceover enabled or on a physical Pixel 9 Android 15 with talkback enabled. I tried on both master and v3.27.0-0.1 pre. I should just double tap to show the menu and then double tap the background to attempt to close it, right? It closed for me. I will update the iPhone to 15.8.3 and try again tomorrow.
I can't think of a reason why willPop would stall out like that.

I should just double tap to show the menu and then double tap the background to attempt to close it, right?

@justinmc When the menu is showing and VoiceOver auto-focus on the 1st item, you should do a single tap on the outside menu (underlying background) to make sure the focus is not on the 1st item anymore, then do a double tap on the outside menu again, you will see the menu cannot be dismissed.

I still can't get it! This is iOS 15.8.3 now, using master.
https://github.com/user-attachments/assets/a3282cf7-9d51-4cb8-806c-3e25f89429b3

authors: ChristianEdwardPadilla chunhtai huycozy jacobsimionato justinmc math1man


text:
Error: WidgetsApp without router crashing

Steps to reproduce
Build the WidgetsApp with builder.
MaterialApp works fine.
WidgetsApp.router also works. Both with and without builder.
Code sample
Code sample
void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return WidgetsApp(
      color: const Color(0x00000000),
      builder: (context, child) => child!,
      home: const SizedBox(),
    );
  }
}

Logs
Logs
A GlobalKey was used multiple times inside one widget's child list.

The offending GlobalKey was: [GlobalObjectKey<NavigatorState> _WidgetsAppState#73190]
The parent of the widgets with that key was: _FocusInheritedScope
The first child to get instantiated with that key became: Navigator-[GlobalObjectKey<NavigatorState> _WidgetsAppState#73190]
  dirty
  dependencies: [UnmanagedRestorationScope]
  state: NavigatorState#f1fa7(lifecycle state: initialized)
The second child that was to be instantiated with that key was: _FocusInheritedScope
A GlobalKey can only be specified on one widget at a time in the widget tree.

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.5, on macOS 15.1 24B83 darwin-arm64, locale ru-RU)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] IntelliJ IDEA Community Edition (version 2024.2.0.1)
[✓] VS Code (version 1.95.3)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

@darshankawar oh, i am very sorry, i miss the assertion message


text:
weather demo initialises globals in initState()

examples/material_gallery/lib/demo/weathers_demo.dart initialises _images and _sprites in initState(), but they're global, so it will stomp on them each time. This means we load more than we need to, thus losing the benefit of them being global, and if there's two instances (e.g. in a demo showing this side-by-side) they'll overwrite each other.

The images are cached, so they will not be loaded more than once. Currently I cannot find a good way to access load/access the images without passing references down the tree, which is somewhat cumbersome. I feel like this is an area where the framework need to support a better solution. Can take some time to outline a proposal for how this could be made much easier if someone isn't working on it already.

I'm not sure what you mean by "they are cached". initState() calls _loadAssets which calls _images = new ImageMap(). This can happen more than once per app lifetime.

The images in the image map are cached somewhere (not sure where), but they definitely doesn't take time to load the second time.

Sure. This isn't a performance bug, just a correctness one. We shouldn't have globals that are initialised multiple times, that doesn't make sense.

Weather demo isn't a thing anymore.

authors: Hixie abarth vlidholt


text:
flutter should expose a command to collect skqp information

Skia has a new tool for validating graphics hardware in the wild:
https://skia.org/dev/testing/skqp
We might want to consider exposing this in flutter as a way to collect info.  FYI @tvolkert

Maybe this is just the same as https://github.com/flutter/flutter/issues/11402 ?