text:
IntrinsicHeight and BoxConstraints generate false-positive overflow error

Steps to Reproduce

Execute flutter run on the code sample
Resize your window over 350px - You'll see an overflow warning where it don't need to be shown
Resize your windows under 350px - Overflow disappear

Expected results:
No overflow error
Actual results:
Overflow error ! IntrinsicHeight doesn't seem to understand restrictions with BoxConstraint and just ignore it.

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(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        body: IntrinsicHeight(
          child: Container(
            constraints: const BoxConstraints(maxWidth: 350),
            child: Column(
              children: const [
                Text(
                  'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris mattis a felis eu sagittis. Donec purus quam, malesuada sed ultricies a, cursus quis erat. Aliquam nec tellus ultrices, congue nisl sed, tincidunt dui. In fermentum eros ut dolor blandit, sit amet dignissim mi ultrices. Suspendisse porttitor malesuada justo, quis commodo est interdum id. Aliquam finibus felis non tellus venenatis, vitae maximus eros ullamcorper. Nunc laoreet porttitor ex eu hendrerit. Etiam non feugiat justo, ac aliquam leo.',
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }
}

Logs
Running "flutter pub get" in max_width_bug...                      423ms
Analyzing max_width_bug...
No issues found! (ran in 2.5s)

[√] Flutter (Channel stable, 3.3.9, on Microsoft Windows [Version 10.0.18363.2274], locale fr-CH)
    • Flutter version 3.3.9 on channel stable at C:\apps\flutter-2.0.6
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (8 days ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

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

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.1)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.2.32516.85
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 4.2)
    • Android Studio at C:\apps\android
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)

[√] IntelliJ IDEA Ultimate Edition (version 2021.2)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2021.1.1
    • 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

[√] VS Code
    • VS Code at C:\Users\RossetM\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.52.0

[√] VS Code, 64-bit edition (version 1.73.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.52.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.18363.2274]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 107.0.5304.107
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 107.0.1418.42

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

! Doctor found issues in 1 category.

Size over 350px

Size under 350px

Reproducible using the code sample provided above.
Labeling for further insight from the team

recording
https://user-images.githubusercontent.com/88313112/205011708-aa232161-56ea-458b-95ab-643662bfd84a.mov

flutter doctor -v
[✓] Flutter (Channel stable, 3.3.9, on macOS 13.0.1 22A400 darwin-arm, locale en-GB)
    • Flutter version 3.3.9 on channel stable at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (8 days ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

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

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview.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
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

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

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview 2.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
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9014738/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

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

[✓] Connected device (3 available)
    • iPhone 14 Pro (mobile) • 4F72110C-F38B-4CF9-93C4-4D6042148D28 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-1 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 13.0.1 22A400 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 108.0.5359.71

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

! Doctor found issues in 2 categories.

[!] Flutter (Channel master, 3.6.0-13.0.pre.24, on macOS 13.0.1 22A400 darwin-arm64, locale en-GB)
    • Flutter version 3.6.0-13.0.pre.24 on channel master at /Users/nexus/dev/sdks/flutters
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4878f26ab0 (5 hours ago), 2022-11-30 23:18:19 -0500
    • Engine revision 441229a95c
    • Dart version 2.19.0 (build 2.19.0-444.0.dev)
    • DevTools version 2.20.0
    • 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/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

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

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview.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
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

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

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview 2.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
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9014738/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

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

[✓] Connected device (3 available)
    • iPhone 14 Pro (mobile) • 4F72110C-F38B-4CF9-93C4-4D6042148D28 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-1 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 13.0.1 22A400 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 108.0.5359.71

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

! Doctor found issues in 3 categories.

This is likely the same underlying issue as https://github.com/flutter/flutter/issues/59719. I am going to close this as a duplicate.

#59719 has been fixed, but this issue still reproduces for me on master.
However, this does appear to be the same issue as #27293, which is still open. So I think this can be considered a duplicate of that issue.

authors: danagbemava-nc gnprice goderbauer matthieurosset


text:
Flutter counter in debug mode errors in Firefox on mac.

Steps:

Create counter application
Run it in debug mode: flutter run -d chrome
Open the url in Firefox
See error in console

In general counter is working in Firefox in all modes. There is no errors in release mode.
Questions:

Do we have commitment to have errorless debug mode for Firefox?
If yes, we need presubmit testing on bots for this, with multiple supported versions of Firefox, including latest
If no, we should stop testing in debug mode on presubmit in G3, for some selected versions of Firefox

Right now testing in G3 in debug mode fails for some versions of Firefox, and is blocking usage of WeakReference in Flutter Framework:  https://github.com/flutter/flutter/pull/130842

flutter --version
Flutter 3.14.0-3.0.pre.29 • channel master • git@github.com:flutter/flutter.git
Framework • revision 67ded4b080 (2 days ago) • 2023-08-10 18:51:23 -0400
Engine • revision b019ac62f2
Tools • Dart 3.2.0 (build 3.2.0-58.0.dev) • DevTools 2.26.1

error details
Installing/Activating first service worker. [flutter.js:171:17](http://localhost:57864/flutter.js)
Activated new service worker. [flutter.js:204:21](http://localhost:57864/flutter.js)
Injecting

What does Run it in debug mode mean?

What does Run it in debug mode mean?

It means normal run. Debug mode is default. Or you can pass --debug.
flutter run -d chrome --debug

Gotcha, thanks for confirming. -d chrome only supports Chrome/Chromium. Firefox is not supported. It should be possible to flutter build web --debug and then use a file server (e.g. python3 -m http.server 8888) to serve the app to any browser. Alternatively, you can use -d web-server.

Yes, flutter run -d web-server --debug did not give me error.
There are still some issues in G3 testing for Firefox. See comments on cl/551925539.

Closed after discussion with team.

source: gharchive/issue

authors: polina-c yjbanov

repo: flutter/flutter

license_type: permissive

license_source: github-api


text:
_swift_release_dealloc EXC_BAD_ACCESS (KERN_INVALID_ADDRESS)

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
It happened once in my released app on iOS, i have no clue about what this is except it seems to be coming from Network.
I have got the crash from my crashlytics report (please see in screenshots section).
This happened on iPhone 12 under iOS 16.1.1
Expected results
The app should not crash
Actual results
The app is crashing
Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration

Logs
Logs
# Crashlytics - Stack trace
# Application: com.myappname.ios
# Platform: apple
# Version: 2.3.0 (23)
# Issue: a0d2904a1a2b510023f59e21c88ac8ae
# Session: 09bb8864939e41bfb9f487e0cf05b038_DNE_8_v2
# Date: Mon Sep 25 2023 10:22:09 GMT+0200 (UTC+02:00)

com.apple.main-thread
0  libsystem_kernel.dylib         0x1248 stat64
1  libsystem_kernel.dylib         0x1248 stat
2  Foundation                     0x6c618 _NSFileExistsAtPath
3  Foundation                     0x85c08 _NSStandardizePathUsingCache
4  Foundation                     0x61178 -[NSString(NSPathUtilities) _stringByStandardizingPathUsingCache:]
5  Foundation                     0x60948 _NSExpandTildeInPath
6  Foundation                     0x60414 -[NSString(NSPathUtilities) stringByExpandingTildeInPath]
7  Foundation                     0x60304 NSSearchPathForDirectoriesInDomains
8  UIKitCore                      0x4600b0 _restorationDirectory
9  UIKitCore                      0x4f72bc -[UIApplication(StateRestoration) _saveApplicationPreservationState:viewController:sessionIdentifier:beginHandler:completionHandler:]
10 UIKitCore                      0x1a57e0 -[UIApplication(StateRestoration) _saveApplicationPreservationStateIfSupported]
11 UIKitCore                      0xd3fd30 __130-[UIApplication _updateStateRestorationArchiveForBackgroundEvent:saveState:exitIfCouldNotRestoreState:updateSnapshot:windowScene:]_block_invoke_2
12 UIKitCore                      0x1a3e68 -[_UIAfterCACommitBlock run]
13 UIKitCore                      0x1a3d9c -[_UIAfterCACommitQueue flush]
14 libdispatch.dylib              0x24b4 _dispatch_call_block_and_release
15 libdispatch.dylib              0x3fdc _dispatch_client_callout
16 libdispatch.dylib              0x127f4 _dispatch_main_queue_drain
17 libdispatch.dylib              0x12444 _dispatch_main_queue_callback_4CF
18 CoreFoundation                 0x9a6f8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
19 CoreFoundation                 0x7c058 __CFRunLoopRun
20 CoreFoundation                 0x80ed4 CFRunLoopRunSpecific
21 GraphicsServices               0x1368 GSEventRunModal
22 UIKitCore                      0x3a23d0 -[UIApplication _run]
23 UIKitCore                      0x3a2034 UIApplicationMain
24 Runner                         0x8ca4 main + 5 (AppDelegate.swift:5)
25 ???                            0x1ac85c960 (Missing)

com.apple.uikit.eventfetch-thread
0  libsystem_kernel.dylib         0xb48 mach_msg2_trap
1  libsystem_kernel.dylib         0x13008 mach_msg2_internal
2  libsystem_kernel.dylib         0x13248 mach_msg_overwrite
3  libsystem_kernel.dylib         0x108c mach_msg
4  CoreFoundation                 0x7aaf0 __CFRunLoopServiceMachPort
5  CoreFoundation                 0x7bd34 __CFRunLoopRun
6  CoreFoundation                 0x80ed4 CFRunLoopRunSpecific
7  Foundation                     0x42334 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
8  Foundation                     0x4221c -[NSRunLoop(NSRunLoop) runUntilDate:]
9  UIKitCore                      0x4d733c -[UIEventFetcher threadMain]
10 Foundation                     0x5b808 __NSThread__start__
11 libsystem_pthread.dylib        0x16cc _pthread_start
12 libsystem_pthread.dylib        0xba4 thread_start

io.flutter.1.ui
0  libsystem_kernel.dylib         0xb48 mach_msg2_trap
1  libsystem_kernel.dylib         0x13008 mach_msg2_internal
2  libsystem_kernel.dylib         0x13248 mach_msg_overwrite
3  libsystem_kernel.dylib         0x108c mach_msg
4  CoreFoundation                 0x7aaf0 __CFRunLoopServiceMachPort
5  CoreFoundation                 0x7bd34 __CFRunLoopRun
6  CoreFoundation                 0x80ed4 CFRunLoopRunSpecific
7  Flutter                        0x2e1d78 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
8  Flutter                        0x2e13ec (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
9  libsystem_pthread.dylib        0x16cc _pthread_start
10 libsystem_pthread.dylib        0xba4 thread_start

io.flutter.1.raster
0  libsystem_kernel.dylib         0xb48 mach_msg2_trap
1  libsystem_kernel.dylib         0x13008 mach_msg2_internal
2  libsystem_kernel.dylib         0x13248 mach_msg_overwrite
3  libsystem_kernel.dylib         0x108c mach_msg
4  CoreFoundation                 0x7aaf0 __CFRunLoopServiceMachPort
5  CoreFoundation                 0x7bd34 __CFRunLoopRun
6  CoreFoundation                 0x80ed4 CFRunLoopRunSpecific
7  Flutter                        0x2e1d78 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
8  Flutter                        0x2e13ec (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
9  libsystem_pthread.dylib        0x16cc _pthread_start
10 libsystem_pthread.dylib        0xba4 thread_start

io.flutter.1.io
0  libsystem_kernel.dylib         0xb48 mach_msg2_trap
1  libsystem_kernel.dylib         0x13008 mach_msg2_internal
2  libsystem_kernel.dylib         0x13248 mach_msg_overwrite
3  libsystem_kernel.dylib         0x108c mach_msg
4  CoreFoundation                 0x7aaf0 __CFRunLoopServiceMachPort
5  CoreFoundation                 0x7bd34 __CFRunLoopRun
6  CoreFoundation                 0x80ed4 CFRunLoopRunSpecific
7  Flutter                        0x2e1d78 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
8  Flutter                        0x2e13ec (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
9  libsystem_pthread.dylib        0x16cc _pthread_start
10 libsystem_pthread.dylib        0xba4 thread_start

io.worker.1
0  libsystem_kernel.dylib         0x141c __psynch_cvwait
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

io.worker.2
0  libsystem_kernel.dylib         0x141c __psynch_cvwait
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

io.worker.3
0  libsystem_kernel.dylib         0x141c __psynch_cvwait
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

io.worker.4
0  libsystem_kernel.dylib         0x141c __psynch_cvwait
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

io.worker.5
0  libsystem_kernel.dylib         0x141c __psynch_cvwait
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

io.worker.6
0  libsystem_kernel.dylib         0x141c __psynch_cvwait
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

dart:io EventHandler
0  libsystem_kernel.dylib         0x2480 kevent
1  Flutter                        0x597760 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
2  Flutter                        0x5c56bc (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  libsystem_pthread.dylib        0x16cc _pthread_start
4  libsystem_pthread.dylib        0xba4 thread_start

io.worker.1
0  libsystem_kernel.dylib         0x141c __psynch_cvwait
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

io.worker.2
0  libsystem_kernel.dylib         0x141c __psynch_cvwait
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

io.worker.3
0  libsystem_kernel.dylib         0x141c __psynch_cvwait
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

io.worker.4
0  libsystem_kernel.dylib         0x141c __psynch_cvwait
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

com.google.firebase.crashlytics.MachExceptionServer
0  FirebaseCrashlytics            0x214c8 FIRCLSProcessRecordAllThreads + 393 (FIRCLSProcess.c:393)
1  FirebaseCrashlytics            0x218a8 FIRCLSProcessRecordAllThreads + 424 (FIRCLSProcess.c:424)
2  FirebaseCrashlytics            0x18958 FIRCLSHandler + 34 (FIRCLSHandler.m:34)
3  FirebaseCrashlytics            0x1b1dc FIRCLSMachExceptionServer + 521 (FIRCLSMachException.c:521)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

com.apple.NSURLConnectionLoader
0  libsystem_kernel.dylib         0xb48 mach_msg2_trap
1  libsystem_kernel.dylib         0x13008 mach_msg2_internal
2  libsystem_kernel.dylib         0x13248 mach_msg_overwrite
3  libsystem_kernel.dylib         0x108c mach_msg
4  CoreFoundation                 0x7aaf0 __CFRunLoopServiceMachPort
5  CoreFoundation                 0x7bd34 __CFRunLoopRun
6  CoreFoundation                 0x80ed4 CFRunLoopRunSpecific
7  CFNetwork                      0x2565a8 _CFURLStorageSessionDisableCache
8  Foundation                     0x5b808 __NSThread__start__
9  libsystem_pthread.dylib        0x16cc _pthread_start
10 libsystem_pthread.dylib        0xba4 thread_start

com.apple.coreaudio.AQClient
0  libsystem_kernel.dylib          0xb48 mach_msg2_trap
1  libsystem_kernel.dylib          0x13008 mach_msg2_internal
2  libsystem_kernel.dylib          0x13248 mach_msg_overwrite
3  libsystem_kernel.dylib          0x108c mach_msg
4  CoreFoundation                  0x7aaf0 __CFRunLoopServiceMachPort
5  CoreFoundation                  0x7bd34 __CFRunLoopRun
6  CoreFoundation                  0x80ed4 CFRunLoopRunSpecific
7  AudioToolbox                    0x1d6240 (Missing UUID a08deb0e4ff933ef94723716c1babb51)
8  libAudioToolboxUtility.dylib    0x14354 CADeprecated::CAPThread::Entry(CADeprecated::CAPThread*)
9  libsystem_pthread.dylib         0x16cc _pthread_start
10 libsystem_pthread.dylib         0xba4 thread_start

caulk.messenger.shared:high
0  libsystem_kernel.dylib         0xac4 semaphore_wait_trap
1  caulk                          0x2888 caulk::mach::semaphore::wait_or_error()
2  caulk                          0x2fc0 caulk::concurrent::details::worker_thread::run()
3  caulk                          0x3788 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*> > >(void*)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

Thread
0  libsystem_pthread.dylib        0xb90 start_wqthread

Crashed: com.apple.root.background-qos
0  libswiftCore.dylib             0x3da11c _swift_release_dealloc
1  libswiftNetwork.dylib          0x1cdc destroy for NWPath
2  libswiftNetwork.dylib          0x39cfc outlined destroy of NWPath
3  libswiftNetwork.dylib          0x37388 closure #1 in NWPathMonitor.init(requiredInterfaceType:)
4  libswiftNetwork.dylib          0x2560 thunk for @escaping @callee_guaranteed (@guaranteed OS_nw_path) -> ()
5  Network                        0x925e7c __nw_path_necp_update_evaluator_block_invoke
6  libdispatch.dylib              0x24b4 _dispatch_call_block_and_release
7  libdispatch.dylib              0x3fdc _dispatch_client_callout
8  libdispatch.dylib              0x15b8c _dispatch_root_queue_drain
9  libdispatch.dylib              0x16284 _dispatch_worker_thread2
10 libsystem_pthread.dylib        0xdbc _pthread_wqthread
11 libsystem_pthread.dylib        0xb98 start_wqthread

Thread
0  libsystem_pthread.dylib        0xb90 start_wqthread

Thread
0  libsystem_kernel.dylib         0x1050 __workq_kernreturn
1  libsystem_pthread.dylib        0xe44 _pthread_wqthread
2  libsystem_pthread.dylib        0xb98 start_wqthread

Thread
0  libsystem_kernel.dylib         0x1050 __workq_kernreturn
1  libsystem_pthread.dylib        0xe44 _pthread_wqthread
2  libsystem_pthread.dylib        0xb98 start_wqthread

Thread
0  libsystem_kernel.dylib         0x1050 __workq_kernreturn
1  libsystem_pthread.dylib        0xe44 _pthread_wqthread
2  libsystem_pthread.dylib        0xb98 start_wqthread

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.5, on macOS 14.0 23A339 darwin-x64, locale fr-FR)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.82.2)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

Crashed: com.apple.root.background-qos
0  libswiftCore.dylib             0x3da11c _swift_release_dealloc
1  libswiftNetwork.dylib          0x1cdc destroy for NWPath
2  libswiftNetwork.dylib          0x39cfc outlined destroy of NWPath
3  libswiftNetwork.dylib          0x37388 closure #1 in NWPathMonitor.init(requiredInterfaceType:)
4  libswiftNetwork.dylib          0x2560 thunk for @escaping @callee_guaranteed (@guaranteed OS_nw_path) -> ()
5  Network                        0x925e7c __nw_path_necp_update_evaluator_block_invoke
6  libdispatch.dylib              0x24b4 _dispatch_call_block_and_release
7  libdispatch.dylib              0x3fdc _dispatch_client_callout
8  libdispatch.dylib              0x15b8c _dispatch_root_queue_drain
9  libdispatch.dylib              0x16284 _dispatch_worker_thread2
10 libsystem_pthread.dylib        0xdbc _pthread_wqthread
11 libsystem_pthread.dylib        0xb98 start_wqthread

This is a thread created by Apple code, running only Apple code; there's no Flutter code anywhere on this thread. You'd need to report this to Apple.
Closing as this is not a Flutter issue.


text:
Camera preview orientation does not follow settings

Is there an existing issue for this?

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

What package does this bug report belong to?
camera
What target platforms are you seeing this bug on?
iOS
Have you already upgraded your packages?
Yes
Dependency versions
pubspec.lock
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
  async:
    dependency: transitive
    description:
      name: async
      sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
      url: "https://pub.dev"
    source: hosted
    version: "2.11.0"
  boolean_selector:
    dependency: transitive
    description:
      name: boolean_selector
      sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.1"
  camera:
    dependency: "direct main"
    description:
      name: camera
      sha256: "1f9010f0689774380fbcd7d6b7820a5157e8e97685fa66d619e1d1f58b3fdf93"
      url: "https://pub.dev"
    source: hosted
    version: "0.10.5+5"
  camera_android:
    dependency: transitive
    description:
      name: camera_android
      sha256: c978373b41a463c9edda3fea0a06966299f55db63232cd0f0d4efc21a59a0006
      url: "https://pub.dev"
    source: hosted
    version: "0.10.8+12"
  camera_avfoundation:
    dependency: transitive
    description:
      name: camera_avfoundation
      sha256: "9495e633cda700717bbe299b0979e6c4a08cee45f298945973dc9cf3e4c1cba5"
      url: "https://pub.dev"
    source: hosted
    version: "0.9.13+6"
  camera_platform_interface:
    dependency: transitive
    description:
      name: camera_platform_interface
      sha256: "8734d1c682f034bdb12d0d6ff379b0535a9b8e44266b530025bf8266d6a62f28"
      url: "https://pub.dev"
    source: hosted
    version: "2.5.2"
  camera_web:
    dependency: transitive
    description:
      name: camera_web
      sha256: "012c82efeb6b69626f1cf7a37c5277c1032428bcae98c7ab6401ff5e91eca628"
      url: "https://pub.dev"
    source: hosted
    version: "0.3.2+2"
  characters:
    dependency: transitive
    description:
      name: characters
      sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
      url: "https://pub.dev"
    source: hosted
    version: "1.3.0"
  clock:
    dependency: transitive
    description:
      name: clock
      sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
      url: "https://pub.dev"
    source: hosted
    version: "1.1.1"
  collection:
    dependency: transitive
    description:
      name: collection
      sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c"
      url: "https://pub.dev"
    source: hosted
    version: "1.17.1"
  cross_file:
    dependency: transitive
    description:
      name: cross_file
      sha256: "445db18de832dba8d851e287aff8ccf169bed30d2e94243cb54c7d2f1ed2142c"
      url: "https://pub.dev"
    source: hosted
    version: "0.3.3+6"
  cupertino_icons:
    dependency: "direct main"
    description:
      name: cupertino_icons
      sha256: d57953e10f9f8327ce64a508a355f0b1ec902193f66288e8cb5070e7c47eeb2d
      url: "https://pub.dev"
    source: hosted
    version: "1.0.6"
  fake_async:
    dependency: transitive
    description:
      name: fake_async
      sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
      url: "https://pub.dev"
    source: hosted
    version: "1.3.1"
  flutter:
    dependency: "direct main"
    description: flutter
    source: sdk
    version: "0.0.0"
  flutter_lints:
    dependency: "direct dev"
    description:
      name: flutter_lints
      sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04
      url: "https://pub.dev"
    source: hosted
    version: "2.0.3"
  flutter_plugin_android_lifecycle:
    dependency: transitive
    description:
      name: flutter_plugin_android_lifecycle
      sha256: f185ac890306b5779ecbd611f52502d8d4d63d27703ef73161ca0407e815f02c
      url: "https://pub.dev"
    source: hosted
    version: "2.0.16"
  flutter_test:
    dependency: "direct dev"
    description: flutter
    source: sdk
    version: "0.0.0"
  flutter_web_plugins:
    dependency: transitive
    description: flutter
    source: sdk
    version: "0.0.0"
  js:
    dependency: transitive
    description:
      name: js
      sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
      url: "https://pub.dev"
    source: hosted
    version: "0.6.7"
  lints:
    dependency: transitive
    description:
      name: lints
      sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.1"
  matcher:
    dependency: transitive
    description:
      name: matcher
      sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb"
      url: "https://pub.dev"
    source: hosted
    version: "0.12.15"
  material_color_utilities:
    dependency: transitive
    description:
      name: material_color_utilities
      sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724
      url: "https://pub.dev"
    source: hosted
    version: "0.2.0"
  meta:
    dependency: transitive
    description:
      name: meta
      sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
      url: "https://pub.dev"
    source: hosted
    version: "1.9.1"
  path:
    dependency: transitive
    description:
      name: path
      sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
      url: "https://pub.dev"
    source: hosted
    version: "1.8.3"
  plugin_platform_interface:
    dependency: transitive
    description:
      name: plugin_platform_interface
      sha256: da3fdfeccc4d4ff2da8f8c556704c08f912542c5fb3cf2233ed75372384a034d
      url: "https://pub.dev"
    source: hosted
    version: "2.1.6"
  quiver:
    dependency: transitive
    description:
      name: quiver
      sha256: b1c1ac5ce6688d77f65f3375a9abb9319b3cb32486bdc7a1e0fdf004d7ba4e47
      url: "https://pub.dev"
    source: hosted
    version: "3.2.1"
  sky_engine:
    dependency: transitive
    description: flutter
    source: sdk
    version: "0.0.99"
  source_span:
    dependency: transitive
    description:
      name: source_span
      sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250
      url: "https://pub.dev"
    source: hosted
    version: "1.9.1"
  stack_trace:
    dependency: transitive
    description:
      name: stack_trace
      sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
      url: "https://pub.dev"
    source: hosted
    version: "1.11.0"
  stream_channel:
    dependency: transitive
    description:
      name: stream_channel
      sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.1"
  stream_transform:
    dependency: transitive
    description:
      name: stream_transform
      sha256: "14a00e794c7c11aa145a170587321aedce29769c08d7f58b1d141da75e3b1c6f"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.0"
  string_scanner:
    dependency: transitive
    description:
      name: string_scanner
      sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
      url: "https://pub.dev"
    source: hosted
    version: "1.2.0"
  term_glyph:
    dependency: transitive
    description:
      name: term_glyph
      sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
      url: "https://pub.dev"
    source: hosted
    version: "1.2.1"
  test_api:
    dependency: transitive
    description:
      name: test_api
      sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb
      url: "https://pub.dev"
    source: hosted
    version: "0.5.1"
  vector_math:
    dependency: transitive
    description:
      name: vector_math
      sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.4"
sdks:
  dart: ">=3.0.5 <4.0.0"
  flutter: ">=3.7.0"

Steps to reproduce

unlock orientation
rotate phone to landscape

Expected results
The preview should not rotate since we already blocked rotation with SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]); and controller.lockCaptureOrientation(DeviceOrientation.portraitUp);.
Actual results
But the preview on IOS devices and only on IOS devices are rotated.
Code sample
Code sample
https://gitlab.com/chutchatut/flutter-camera-error

Screenshots or Videos

Screenshots / Video demonstration
picture of what the app is supposed to looks like

picture of what it looks like on IOS

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.10.5, on macOS 14.0 23A344 darwin-arm64, locale en-TH)
    • Flutter version 3.10.5 on channel stable at /Users/kananartpeanthong/Documents/DEV/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 796c8ef792 (5 months ago), 2023-06-13 15:51:02 -0700
    • Engine revision 45f6e00911
    • Dart version 3.0.5
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/kananartpeanthong/Library/Android/sdk
    • Platform android-33, build-tools 33.0.2
    • Java binary at: /Users/kananartpeanthong/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8609683/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2021.2)
    • Android Studio at /Users/kananartpeanthong/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8609683/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/kananartpeanthong/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • 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

[✓] VS Code (version 1.82.2)
    • 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)
    • sdk gphone64 arm64 (mobile) • emulator-5554             • android-arm64  • Android 13 (API 33) (emulator)
    • Namo😸 (mobile)             • 00008110-0001312002E9801E • ios            • iOS 17.0.3 21A360
    • macOS (desktop)             • macos                     • darwin-arm64   • macOS 14.0 23A344 darwin-arm64
    • Chrome (web)                • chrome                    • web-javascript • Google Chrome 118.0.5993.117

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

• No issues found!

Please note that this issue is specific to IOS and cannot be reproduced on Android.

Hi @chutchatut, this is a known issue that is being tracked in https://github.com/flutter/flutter/issues/111063.
Kindly follow up in the original issue for updates.
Closing from here as duplicate.
Thank you

authors: chutchatut danagbemava-nc


text:
Integrate with username/password auto-fill

Was reading up on changes for Android P, and it led me to file this...
https://android-developers.googleblog.com/2017/11/getting-your-android-app-ready-for.html
https://code.tutsplus.com/articles/faster-logins-with-password-autofill-in-ios-11--cms-29096
@Hixie do you think this is the domain of the framework or plugins?

The built-in text field should just support this out of the box, though we should also expose the APIs to make it possible to make custom text fields to do this.

cc @HansMuller @cbracken

May be a duplicate of #13015.

Also noted on #13015 but we should ensure we integrate correctly with the password fill functionality on iOS 11 and the upcoming changes for iOS 12.

Any updates with this feature? With so many stable version have been released... 😞

So much time passes that auto-fill has got much more capabilities then only username/passwords. Now autofill can fill dates/lists/texts/toggles with authData/email/phone/addresses/paymentInfo/etc

any updates on this?

Closing as a duplicate of https://github.com/flutter/flutter/issues/13015.  Anyone who's following or added their thumbs-up to this issue, you'll want to do the same to https://github.com/flutter/flutter/issues/13015.

authors: AlexVincent525 Hixie audkar cbracken orospakr oth-libs tvolkert


text:
flutter upgrade should take a hidden --version argument

Our release process says that when pushing a beta build, you should ensure that the build "can be successfully upgraded to from an earlier dev build (via 'flutter upgrade')".
The problem with this is that if you're upgrading from (e.g.) v0.0.20 to v0.1.4, but the most recent dev build is v0.1.6, then there's no way to tell whether an upgrade will work, because just running flutter upgrade will upgrade to v0.1.6 (not to v0.1.4, as you'd like).
If we had a --version argument, it would allow us to test this better.  The trick is that we have no way of knowing whether the version they specify was ever a release on their channel.  And what if they just specify a git hash?  Do either of those matter?
We could even allow an older version to be specified, effectively allowing them to downgrade in case of a regression... This could supersede #14801

@jonahwilliams is this still relevant?

I accomplished testing of upgrade/downgrade differently, using a hidden command to apply the upgrade to a different flutter checkout. This gives us pretty OK coverage for an integration test
https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/commands/upgrade.dart#L39
Closing as resolved.

authors: jonahwilliams tvolkert


text:
Font rendering is different from Chromium

Steps to reproduce
Hi, I'm a developer working on LG TV apps.
Migrating a web app to Flutter, I have notice that Flutter renders one of our font differently from web (Chromium).
LG_Smart_UI_JP font sample.zip
Number "6" is rendered bigger than other numbers, (top of 6 is higher than others), particularly with fontSize (20, 21, 22).
Expected results
"Height of the numbers should be the same."

Actual results
"The number 6 is taller than the others."

Code sample
Code sample
Use this font file for sample code_LG_Smart_UI_JP font sample.zip
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> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Container(
        color: Colors.black,
        child: const Center(
          child: Column(
            crossAxisAlignment: CrossAxisAlignment.start,
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              Text(
                'Flutter font test',
                style: TextStyle(
                  color: Colors.white,
                  fontSize: 24,
                ),
              ),
              Text(
                'font size 12 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 12,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 14 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 14,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 16 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 16,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 18 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 18,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 20 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 20,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 21 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 21,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 22 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 22,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 23 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 23,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 24 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 24,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 36 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 36,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 48 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 48,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 52 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 52,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 64 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 64,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
Web app Screenshot

Flutter app Screenshot

Logs
N/A
Flutter Doctor output
Doctor output
$ flutter doctor
Doctor summary (to see all details, run flutter
doctor -v):
[✓] Flutter (Channel stable, 3.22.2, on Ubuntu
    20.04.6 LTS 5.18.0-051800-generic, locale
    en_US.UTF-8)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] VS Code (version 1.89.1)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

Thanks for the report. Keeping this issue open for team's tracking.

What web backend are you using?

@jonahwilliams
We are running app linux environment(ubuntu 20.04.6 LTS). So web backend is not being used.

oh, I misunderstood and thought this was a web build issue.

authors: darshankawar jonahwilliams luckjjh


text:
Specifying --preview-dart-2 with a local engine specified crashes Flutter tooling.

Crash log is here.

--preview-dart-2 requires a host build in an output directory adjacent to the local engine build

authors: chinmaygarde jason-simmons


text:
The TabLabel class should support local image

I think the TabLabel class should support local image, the function _buildLabelIcon in tabs.dart should look like this:
  Widget _buildLabelIcon(bool aIsLocal, [ int aWidth, int aHeight ] ) {
      assert(label.icon != null);
      if (aisLocal && $aWidth != 0 && $aHeight != 0) {
        return new AssetImage(name: label.icon, width: aWidth.toDouble(), height: aheight.toDouble());
      } else {
        return new Icon(icon: label.icon, color: color);
      }
  }

Maybe we should let you provide an arbitrary Widget as the icon for the tab label.

/cc @HansMuller

Just making the parameter a widget and ensuring that it's sized properly should get the job done, yes.

Looking at this a little more closely. The tab icons (and their text labels) are supposed to reflect selection. This is currently not working, tab labels' text and icons are always rendered with the same color (it used to work...).
Although an arbitrary widget is the most convenient way to show a tab label icon, we'll need to ensure it reflects the selection properly. Perhaps by wrapping it with an Opacity widget.

Perhaps by wrapping it with an Opacity widget.

That's a lot more expensive than colorizing an icon...  Given that the original request was for an image as well, maybe we should have a builder function that takes the desired color.

Good idea. That sounds more flexible too.

authors: HansMuller abarth zhangyulong882


text:
mac-23 lost external connection from phone device.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
mac-23 lost external connection from phone device.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Rebooting machine to restore connection.


text:
flutter bug

 #2      RenderObject.markNeedsCompositingBitsUpdate (package:flutter/src/rendering/object.dart)
I/flutter ( 3176): #3      RenderObject.attach (package:flutter/src/rendering/object.dart:1232:7)
I/flutter ( 3176): #4      _RenderProxyBox&RenderBox&RenderObjectWithChildMixin.attach (package:flutter/src/rendering/object.dart:2588:11)
I/flutter ( 3176): #5      AbstractNode.adoptChild (package:flutter/src/foundation/node.dart:128:13)
I/flutter ( 3176): #6      RenderObject.adoptChild (package:flutter/src/rendering/object.dart:1077:11)
I/flutter ( 3176): #7      _RenderProxyBox&RenderBox&RenderObjectWithChildMixin.child= (package:flutter/src/rendering/object.dart:2583:7)
I/flutter ( 3176): #8      SingleChildRenderObjectElement.insertChildRenderObject (package:flutter/src/widgets/framework.dart:4661:18)
I/flutter ( 3176): #9      RenderObjectElement.attachRenderObject (package:flutter/src/widgets/framework.dart:4505:35)
I/flutter ( 3176): #10     Element._activateWithParent (package:flutter/src/widgets/framework.dart:2966:5)
I/flutter ( 3176): #11     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2891:18)
I/flutter ( 3176): #12     Element.updateChild (package:flutter/src/widgets/framework.dart:2702:12)
I/flutter ( 3176): #13     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4646:14)
I/flutter ( 3176): #14     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2899:14)
I/flutter ( 3176): #15     MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4751:32)
I/flutter ( 3176): #16     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2899:14)
I/flutter ( 3176): #17     Element.updateChild (package:flutter/src/widgets/framework.dart:2702:12)
I/flutter ( 3176): #18     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3645:16)
I/flutter ( 3176): #19     Element.rebuild (package:flutter/src/widgets/framework.dart:3487:5)
I/flutter ( 3176): #20     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3614:5)
I/flutter ( 3176): #21     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3761:11)
I/flutter ( 3176): #22     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3609:5)
I/flutter ( 3176): #23     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2899:14)
I/flutter ( 3176): #24     Element.updateChild (package:flutter/src/widgets/framework.dart:2702:12)
I/flutter ( 3176): #25     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4646:14)
I/flutter ( 3176): #26     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2899:14)
I/flutter ( 3176): #27     Element.updateChild (package:flutter/src/widgets/framework.dart:2702:12)
I/flutter ( 3176): #28     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3645:16)
I/flutter ( 3176): #29     Element.rebuild (package:flutter/src/widgets/framework.dart:3487:5)
I/flutter ( 3176): #30     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3614:5)
I/flutter ( 3176): #31     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3761:11)
I/flutter ( 3176): #32     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3609:5)
I/flutter ( 3176): #33     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2899:14)
I/flutter ( 3176): #34     Element.updateChild (package:flutter/src/widgets/framework.dart:2702:12)
I/flutter ( 3176): #35     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4646:14)
I/flutter ( 3176): #36     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2899:14)
I/flutter ( 3176): #37     Element.updateChild (package:flutter/src/widgets/framework.dart:2702:12)
I/flutter ( 3176): #38     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3645:16)
I/flutter ( 3176): #39     Element.rebuild (package:flutter/src/widgets/framework.dart:3487:5)
I/flutter ( 3176): #40     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3614:5)
I/flutter ( 3176): #41     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3761:11)
I/flutter ( 3176): #42     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3609:5)
I/flutter ( 3176): #43     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2899:14)
I/flutter ( 3176): #44     Element.updateChild (package:flutter/src/widgets/framework.dart:2702:12)
I/flutter ( 3176): #45     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4646:14)
I/flutter ( 3176): #46     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2899:14)
I/flutter ( 3176): #47     Element.updateChild (package:flutter/src/widgets/framework.dart:2702:12)
I/flutter ( 3176): #48     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3645:16)
I/flutter ( 3176): #49     Element.rebuild (package:flutter/src/widgets/framework.dart:3487:5)
I/flutter ( 3176): #50     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3614:5)
I/flutter ( 3176): #51     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3761:11)
I/flutter ( 3176): #52     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3609:5)
I/flutter ( 3176): #53     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2899:14)
I/flutter ( 3176): #54     Element.updateChild (package:flutter/src/widgets/framework.dart:2702:12)
I/flutter ( 3176): #55     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3645:16)
I/flutter ( 3176): #56     Element.rebuild (package:flutter/src/widgets/framework.dart:3487:5)
I/flutter ( 3176): #57     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3614:5)
I/flutter ( 3176): #58     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3609:5)
I/flutter ( 3176): #59     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2899:14)
I/flutter ( 3176): #60     Element.updateChild (package:flutter/src/widgets/framework.dart:2702:12)
I/flutter ( 3176): #61     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3645:16)
I/flutter ( 3176): #62     Element.rebuild (package:flutter/src/widgets/framework.dart:3487:5)
I/flutter ( 3176): #63     StatefulElement.update (package:flutter/src/widgets/framework.dart:3791:5)
I/flutter ( 3176): #64     Element.updateChild (package:flutter/src/widgets/framework.dart:2691:15)
I/flutter ( 3176): #65     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4653:14)
I/flutter ( 3176): #66     Element.updateChild (package:flutter/src/widgets/framework.dart:2691:15)
I/flutter ( 3176): #67     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3645:16)
I/flutter ( 3176): #68     Element.rebuild (package:flutter/src/widgets/framework.dart:3487:5)
I/flutter ( 3176): #69     ProxyElement.update (package:flutter/src/widgets/framework.dart:3901:5)
I/flutter ( 3176): #70     Element.updateChild (package:flutter/src/widgets/framework.dart:2691:15)
I/flutter ( 3176): #71     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4653:14)
I/flutter ( 3176): #72     Element.updateChild (package:flutter/src/widgets/framework.dart:2691:15)
I/flutter ( 3176): #73     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3645:16)
I/flutter ( 3176): #74     Element.rebuild (package:flutter/src/widgets/framework.dart:3487:5)
I/flutter ( 3176): #75     StatefulElement.update (package:flutter/src/widgets/framework.dart:3791:5)
I/flutter ( 3176): #76     Element.updateChild (package:flutter/src/widgets/framework.dart:2691:15)
I/flutter ( 3176): #77     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3645:16)
I/flutter ( 3176): #78     Element.rebuild (package:flutter/src/widgets/framework.dart:3487:5)
I/flutter ( 3176): #79     StatelessElement.update (package:flutter/src/widgets/framework.dart:3694:5)
I/flutter ( 3176): #80     Element.updateChild (package:flutter/src/widgets/framework.dart:2691:15)
I/flutter ( 3176): #81     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4653:14)
I/flutter ( 3176): #82     Element.updateChild (package:flutter/src/widgets/framework.dart:2691:15)
I/flutter ( 3176): #83     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3645:16)
I/flutter ( 3176): #84     Element.rebuild (package:flutter/src/widgets/framework.dart:3487:5)
I/flutter ( 3176): #85     ProxyElement.update (package:flutter/src/widgets/framework.dart:3901:5)
I/flutter ( 3176): #86     Element.updateChild (package:flutter/src/widgets/framework.dart:2691:15)
I/flutter ( 3176): #87     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3645:16)
I/flutter ( 3176): #88     Element.rebuild (package:flutter/src/widgets/framework.dart:3487:5)
I/flutter ( 3176): #89     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2234:33)
I/flutter ( 3176): #90     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:626:20)
I/flutter ( 3176): #91     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
I/flutter ( 3176): #92     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
I/flutter ( 3176): #93     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
I/flutter ( 3176): #94     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:751:7)
I/flutter ( 3176): #96     _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
I/flutter ( 3176): #97     _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
I/flutter ( 3176): #98     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)
I/flutter ( 3176): (elided 3 frames from class _AssertionError and package dart:async)
I/flutter ( 3176): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter ( 3176): Another exception was thrown: 'package:flutter/src/foundation/node.dart': Failed assertion: line 102 pos 12: '_owner != null': is not true.
I/flutter ( 3176): Another exception was thrown: 'package:flutter/src/foundation/node.dart': Failed assertion: line 102 pos 12: '_owner != null': is not true.

How to reproduce?
Please add the output of flutter doctor

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.

authors: kimailis zoechi


text:
When the flutter process is running, I need rm ~/flutter/bin/cache/lockfile to launch a new flutter process.

As the title says, launching a new flutter process need rm lockfile.
For example, I add a dependency to pubspec.yaml. VS Code will run flutter packages run automatically. I'm probably having a bad Internet. So the flutter process will cost much time.
When I run flutter xxx now, the terminal shows Waiting for another flutter command to release the startup lock....
I have to rm ~/flutter/bin/cache/lockfile to launch a new flutter process.

Please add the output of flutter doctor -v.

authors: talisk zoechi


text:
[New Feature] Microphone Streams?

It doesn't look like there's any support for microphone streams as yet, is there any work on this as yet/any future plans?

I've in the process of writing a package, some help/review would be great! Link

@rishab2113 I saw that https://github.com/anarchuser/mic_stream has an Android implementation, maybe you could coordinate with @anarchuser to publish a package that supports both iOS and Android?

Thanks @yassinecc for mentioning this, I originally planned on doing iOS support.
But due to the need of XCode I dropped the idea (since I couldn't test the code).
If I can be of help creating an android backend let me know, though.

authors: anarchuser rishab2113 yassinecc


text:
Undefined name 'visibleForTesting' used as an annotation

VSCode is reporting several problems on standard firebase_app.dart
Apparently the app is still working perfectly. I can't precise when this happened, but seem to have happened after run: flutter --profile
Thanks in advance.

Workaround: changed firebase_core.dart.
Before:
part 'src/firebase_app.dart'; part 'src/firebase_options.dart';
Now:
part 'src/firebase_options.dart'; part 'src/firebase_app.dart';

Hi, sorry for the late reply, I would like to ask does this problem still exist?

Hi @egorges
for what I can see the issue is related to a FlutterFire plugin,
please open the issue in the dedicated github.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
thank you

authors: egorges escamoteur iapicca


text:
"Open Widget Sample" in IntelliJ creates the Counter sample

On the master channel, the "Open Widget Sample" feature creates the Counter sample, not the sample that was selected.
Steps to Reproduce

open the Flutter framework package in IntelliJ
Navigate to src/material/chips.dart
select the onDeleted widget sample and hit "Go..."

Observe that the sample is the counter sample, not the sample in the docs.

Flutter doctor output
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.9.6-pre.57, on Mac OS X 10.14.6 18G84, locale
    en-US)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.4)
[✓] Android Studio
[✓] IntelliJ IDEA Ultimate Edition (version 2019.2)
[✓] VS Code (version 1.37.1)
[✓] Connected device (1 available)

• No issues found!

CC: @gspencergoog

CC @devoncarew

/move flutter/flutter-intellij

authors: RedBrogdon devoncarew gspencergoog johnpryan


text:
[web]: Whenever i try to debug my flutter web project i am getting continuously a white screen

Describe your issue and include the command you're running, flutter_web version, browser version

In debug console i am not getting any error  Debug service listening on ws://127.0.0.1:43917/cThGHDrz1pY=
Please help..

Java script error .....
Failed to load resource: the server responded with a status of 404 (Not Found)
browser_location.dart:94 Uncaught (in promise) TypeError: Cannot read property 'hash' of undefined
at HashLocationStrategy.get path [as path] (browser_location.dart:94)
at _engine.BrowserHistory.new.get currentPath [as currentPath] (history.dart:56)
at _engine.BrowserHistory.new.[_setupStrategy] (history.dart:164)
at _engine.BrowserHistory.new.set locationStrategy [as locationStrategy] (history.dart:51)
at _engine.EngineWindow.new.set locationStrategy [as locationStrategy] (window.dart:81)
at webOnlyInitializePlatform (initialization.dart:12)
at webOnlyInitializePlatform.next ()
at runBody (async_patch.dart:84)
at Object._async [as async] (async_patch.dart:123)
at Object.webOnlyInitializePlatform (initialization.dart:8)
at main$ (main_web_entrypoint.dart:7)
at main$.next ()
at runBody (async_patch.dart:84)
at Object._async [as async] (async_patch.dart:123)
at main$ (main_web_entrypoint.dart:5)
at Function.call$0 (client.js:27646)
at client.js:26253
at _wrapJsFunctionForAsync_closure.$protected (client.js:3107)
at _wrapJsFunctionForAsync_closure.call$2 (client.js:11692)
at Object._asyncStartSync (client.js:3072)
at main__closure3.$call$body$main__closure (client.js:26265)
at main__closure3.call$1 (client.js:26191)
at StaticClosure._rootRunUnary [as call$2$5] (client.js:3396)
at _CustomZone.runUnary$2$2 (client.js:13124)
at _CustomZone.runUnaryGuarded$1$2 (client.js:13052)
at _ControllerSubscription._sendData$1 (client.js:12535)
at _DelayedData.perform$1 (client.js:12742)
at _StreamImplEvents.handleNext$1 (client.js:12816)
at _PendingEvents_schedule_closure.call$0 (client.js:12788)
at Object._microtaskLoop (client.js:3257)
at StaticClosure._startMicrotaskLoop (client.js:3263)
at _AsyncRun__initializeScheduleImmediate_internalCallback.call$1 (client.js:11583)
at invokeClosure (client.js:1206)
at MutationObserver.

This issue has already been fixed on master, you'll need to update again and rebuid.

This issue has already been fixed on master, you'll need to update again and rebuid.

I have just updated two hours back

Try flutter clean too. Please include flutter doctor -v.

ok i ll try

Thank you so much sir.....it worked


text:
When the picture is larger than 3m, flutter cannot display the picture.

When the picture is larger than 3m, flutter cannot display the picture.
图片地址：https://xianyan.hellowcloud.com/assert/files/2019October/1569978960591485666.jpg
class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: SingleChildScrollView(
          child: Column(
        children: <Widget>[
          Image.network(
            "https://xianyan.hellowcloud.com/assert/files/2019October/1569978960591485666.jpg",
            fit: BoxFit.fitWidth,
          ),
        ],
      )),
    );
  }
}

I can't modify the size of the network picture. How can I make the picture display normally?

I am working on Android mobile phone.

Possibly related: https://github.com/flutter/flutter/issues/40613

@jicg Please provide your flutter doctor -v output.

[√] Flutter (Channel stable, v1.9.1+hotfix.2, on Microsoft Windows [Version 10.0.17134.1006], locale zh-CN)
    • Flutter version 1.9.1+hotfix.2 at D:\App\flutter
    • Framework revision 2d2a1ffec9 (4 weeks ago), 2019-09-06 18:39:49 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at D:\App\AndroidSdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-Q, build-tools 28.0.3
    • ANDROID_HOME = D:\App\AndroidSdk
    • Java binary at: D:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[√] Android Studio (version 3.5)
    • Android Studio at D:\Program Files\Android\Android Studio
    • Flutter plugin version 39.0.3
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] Connected device (2 available)
    • MI PLAY • 49e7b9d20301 • android-arm64 • Android 8.1.0 (API 27)
    • PDA     • 890218090836 • android-arm64 • Android 7.0 (API 24)

! Doctor found issues in 1 category.

Image.network(
   "https://xianyan.hellowcloud.com/assert/files/2019October/1569978960591485666.jpg",
   fit: BoxFit.fill,
   width: 200,height: 400,
),

Nor can it be displayed

Is there any progress on this issue? I also meet this problem.
eg.  Image.file('xxx') but my pic file is about 13m. I try small pic file it's ok

I also have the problem, but it only occurs with older or less powerful devices.

Images this big should probably be scaled down using the cacheHeight and cacheWidth parameters (or just using ResizeImage directly). You're going to run into memory issues trying to render, e.g., an image that is 12 or 13x the height of your screen at full resolution on a lower end device.

@dnfield  Do you think this is the correct place to add this? https://flutter.dev/docs/development/ui/assets-and-images#android. I could create PR for loading large image assets in this section

That sounds good to me

From engine triage: Images this big have a high likelihood of making the device run out of device memory. @dnfield s suggestion is spot on and I think we already do this now in the engine (capped to the screen size perhaps). Closing this as WAI.

authors: BondarenkoStas TahaTesser bernaferrari chinmaygarde dnfield friebetill jicg qylshy


text:
Samsung Keyboard crash/freeze when dismissing and reopening keyboard

On Samsung devices (verified on SM-T510 and SM-T410), dismissing and reshowing the keyboard will result in the keyboard and app freezing, with the keyboard freeze persisting after the app is closed.

Should be fixed by https://github.com/flutter/flutter/pull/53613


text:
flutter console output Chinese garbled in android studio 3.6.1 version

flutter console output Chinese garbled in android studio 3.6.1 version，In Android studio 3.5.3 and previous versions, there is no problem. In the 3.6.1 version, the native project output has no garbled characters, and the compilation format such as jvm has been modified, but only the flutter project will have Chinese garbled characters.

Hi @palingenesiswang
What do you mean the compilation format such as jvm has been modified?
can you please provide your flutter doctor -v and flutter run --verbose?
Also, to better address the issue, would be helpful if you could post a minimal code sample to reproduce the problem
Thank you

Hi @palingenesiswang
What do you mean the compilation format such as jvm has been modified? Please explain detail
can you please provide your flutter doctor -v and flutter run --verbose?
Also, to better address the issue, would be helpful if you could post a minimal code sample to reproduce the problem
Thank you

Using flutter doctor -v found that everything seems normal, but flutter run --verbose found the following abnormal information, I have encountered in the native project, but there is no garbled this situation, I hope you can help me! Thank you

I'm facing the similiar problem too, but I think it may be not Android Studio related issue.
Once I clean the project with flutter clean and flutter run or flutter build apk project again directly in powershell or cmd, such warnings(red font color) with grabled characters will be printed.
They are almost related to generated plugins of packages. I am not sure these characters are Chinese or not, since I have never seen the correct one.
Here is an example output:
> flutter build apk --target-platform android-arm64
Plugin project :path_provider_macos not found. Please update settings.gradle.
Plugin project :connectivity_macos not found. Please update settings.gradle.
Plugin project :url_launcher_macos not found. Please update settings.gradle.
Plugin project :url_launcher_web not found. Please update settings.gradle.
ע: ĳЩ�����ļ�ʹ�û򸲸����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
ע: D:\Projects\sdk\flutter\.pub-cache\hosted\pub.dartlang.org\file_picker-1.6.3+2\android\src\main\java\com\mr\flutter\plugin\filepicker\FilePickerDelegate.javaʹ�û򸲸����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
ע: ĳЩ�����ļ�ʹ�û򸲸����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
ע: ĳЩ�����ļ�ʹ����δ�����򲻰�ȫ�Ĳ�����
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:unchecked ���±��롣
ע: D:\Projects\sdk\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-5.4.5\android\src\main\java\io\flutter\plugins\urllauncher\WebViewActivity.javaʹ�û򸲸����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
Removed unused resources: Binary resource data reduced from 534KB to 504KB: Removed 5%
Running Gradle task 'assembleRelease'...

Running Gradle task 'assembleRelease'... Done                     142.6s (!)
✓ Built build\app\outputs\flutter-apk\app-release.apk (6.4MB).

If output is written into file, those confusing warnings are not recorded,  these output may be printed by java code generation related child process.

flutter doctor -v
[√] Flutter (Channel master, v1.18.0-7.0.pre.9, on Microsoft Windows [Version 10.0.18363.778], locale zh-CN)
    • Flutter version 1.18.0-7.0.pre.9 at D:\Projects\sdk\flutter
    • Framework revision 418007d172 (11 hours ago), 2020-04-21 16:28:01 -0400
    • Engine revision cf78b89c3f
    • Dart version 2.9.0 (build 2.9.0-2.0.dev 704642a9b0)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at D:\Projects\sdk\Android\Sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: C:\Users\narumi\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\193.6348893\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[!] Android Studio (version 4.0)
    • Android Studio at C:\Users\narumi\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\193.6348893
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.44.2)
    • VS Code at C:\Users\narumi\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.9.1

[!] Connected device
    ! No devices available

i aslo have same problem

I have same issue both in powershell and android studio 4.1.1, and it also happen after changed powershell's codepage to 65001(utf-8)

related to generated plugins of packages

yes,they are related to generated plugins of packages. so have you solved it?

authors: Oldwangtouchtouchdoge TahaTesser andyxiaoxi devchenli na8esin narumishi palingenesiswang


text:
Error conecting to firebase Google Android emulator

Launching lib/main.dart on Android SDK built for x86 in debug mode...
Running Gradle task 'assembleDebug'...
✓ Built build/app/outputs/apk/debug/app-debug.apk.
Installing build/app/outputs/apk/app.apk...
Debug service listening on ws://127.0.0.1:58654/fBkIsGYoVfw=/ws
Syncing files to device Android SDK built for x86...
D/EGL_emulation( 7105): eglMakeCurrent: 0xa2484f00: ver 3 0 (tinfo 0xa2483580)
W/GooglePlayServicesUtil( 7105): Google Play services out of date for br.com.colorsdj.colorsdj.  Requires 12451000 but found 11743470
D/EGL_emulation( 7105): eglMakeCurrent: 0xa2484f00: ver 3 0 (tinfo 0xa2483580)
E/FirebaseInstanceId( 7105): Topic sync or token retrieval failed on hard failure exceptions: AUTHENTICATION_FAILED. Won't retry the operation.
E/FirebaseInstanceId( 7105): Topic sync or token retrieval failed on hard failure exceptions: AUTHENTICATION_FAILED. Won't retry the operation.
D/EGL_emulation( 7105): eglMakeCurrent: 0x9faf0b20: ver 3 0 (tinfo 0x8c819990)
W/GooglePlayServicesUtil( 7105): Google Play services out of date for br.com.colorsdj.colorsdj.  Requires 12451000 but found 11743470
W/GoogleApiManager( 7105): The service for com.google.android.gms.auth.api.signin.internal.zzh is not available: ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null, message=null}
W/GooglePlayServicesUtil( 7105): Google Play services out of date for br.com.colorsdj.colorsdj.  Requires 12451000 but found 11743470
W/GooglePlayServicesUtil( 7105): Google Play services out of date for br.com.colorsdj.colorsdj.  Requires 12451000 but found 11743470
W/GoogleApiManager( 7105): The service for com.google.android.gms.auth.api.signin.internal.zzh is not available: ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null, message=null}
W/GoogleApiAvailability( 7105): GMS core API Availability. ConnectionResult=2, tag=null
W/GoogleApiAvailability( 7105): java.lang.IllegalArgumentException
W/GoogleApiAvailability( 7105): 	at com.google.android.gms.common.GoogleApiAvailability.zaa(com.google.android.gms:play-services-base@@17.2.1:141)
W/GoogleApiAvailability( 7105): 	at com.google.android.gms.common.GoogleApiAvailability.zaa(com.google.android.gms:play-services-base@@17.2.1:46)
W/GoogleApiAvailability( 7105): 	at com.google.android.gms.common.api.internal.GoogleApiManager.zac(com.google.android.gms:play-services-base@@17.2.1:213)
W/GoogleApiAvailability( 7105): 	at com.google.android.gms.common.api.internal.GoogleApiManager$zaa.zaa(com.google.android.gms:play-services-base@@17.2.1:101)
W/GoogleApiAvailability( 7105): 	at com.google.android.gms.common.api.internal.GoogleApiManager$zaa.onConnectionFailed(com.google.android.gms:play-services-base@@17.2.1:75)
W/GoogleApiAvailability( 7105): 	at com.google.android.gms.common.api.internal.GoogleApiManager$zaa.connect(com.google.android.gms:play-services-base@@17.2.1:255)
W/GoogleApiAvailability( 7105): 	at com.google.android.gms.common.api.internal.GoogleApiManager$zaa.zaa(com.google.android.gms:play-services-base@@17.2.1:125)
W/GoogleApiAvailability( 7105): 	at com.google.android.gms.common.api.internal.GoogleApiManager.handleMessage(com.google.android.gms:play-services-base@@17.2.1:145)
W/GoogleApiAvailability( 7105): 	at android.os.Handler.dispatchMessage(Handler.java:101)
W/GoogleApiAvailability( 7105): 	at com.google.android.gms.internal.base.zap.dispatchMessage(com.google.android.gms:play-services-base@@17.2.1:8)
W/GoogleApiAvailability( 7105): 	at android.os.Looper.loop(Looper.java:164)
W/GoogleApiAvailability( 7105): 	at android.os.HandlerThread.run(HandlerThread.java:65)
I/zygote  ( 7105): Do partial code cache collection, code=60KB, data=42KB
I/zygote  ( 7105): After code cache collection, code=57KB, data=41KB
I/zygote  ( 7105): Increasing code cache capacity to 256KB
D/NetworkSecurityConfig( 7105): No Network Security Config specified, using platform default
D/EGL_emulation( 7105): eglMakeCurrent: 0xa2484f00: ver 3 0 (tinfo 0xa2483580)
D/EGL_emulation( 7105): eglMakeCurrent: 0xa2484f00: ver 3 0 (tinfo 0xa2483580)
E/FirebaseInstanceId( 7105): Topic sync or token retrieval failed on hard failure exceptions: AUTHENTICATION_FAILED. Won't retry the operation.
W/GooglePlayServicesUtil( 7105): Google Play services out of date for br.com.colorsdj.colorsdj.  Requires 12451000 but found 11743470
E/FirebaseInstanceId( 7105): Topic sync or token retrieval failed on hard failure exceptions: AUTHENTICATION_FAILED. Won't retry the operation.
D/EGL_emulation( 7105): eglCreateContext: 0x9faf0b20: maj 3 min 0 rcv 3
D/EGL_emulation( 7105): eglMakeCurrent: 0x9faf0b20: ver 3 0 (tinfo 0x8c819990)
E/eglCodecCommon( 7105): glUtilsParamSize: unknow param 0x00008cdf
E/eglCodecCommon( 7105): glUtilsParamSize: unknow param 0x00008cdf
E/eglCodecCommon( 7105): glUtilsParamSize: unknow param 0x00008824
E/eglCodecCommon( 7105): glUtilsParamSize: unknow param 0x00008824
E/eglCodecCommon( 7105): glUtilsParamSize: unknow param 0x000087fe
E/eglCodecCommon( 7105): glUtilsParamSize: unknow param 0x000087fe
D/EGL_emulation( 7105): eglMakeCurrent: 0xa2484f00: ver 3 0 (tinfo 0xa2483580)
D/EGL_emulation( 7105): eglMakeCurrent: 0x9faf0b20: ver 3 0 (tinfo 0x8c819990)
Lost connection to device.

Hi @sandroarnaldo,
This seems to be an issue with Firebase which has separate repo for tracking issue : https://github.com/FirebaseExtended/flutterfire/issues. Please consider opening this issue there.
Closing, as this doesn't seem to be an issue with Flutter. If you disagree, write in comments and I'll reopen.
Thanks.

authors: darshankawar sandroarnaldo


text:
MergeSemantics does not take sortKey into account

b/163110107
Min repro case:
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: MergeSemantics(
            child: Column(
              mainAxisSize: MainAxisSize.min,
              children: [
                Semantics(sortKey: OrdinalSortKey(3), child: Text('line A')),
                Semantics(sortKey: OrdinalSortKey(2), child: Text('line B')),
                Semantics(sortKey: OrdinalSortKey(1), child: Text('line C')),
              ],
            ),
          ),
        ),
      ),
    );
  }
}

Expected:
Merged semantics should read "line C / line B / line A"
Observed:
Merged semantics reads "line A / line B / line C"

CC @chunhtai

I also replied to the internal bug
This is WAI
The sortkey is meant for focus traversal order. https://api.flutter.dev/flutter/semantics/SemanticsProperties/sortKey.html
The concatenate order is determined by visitChildrenForSemantics. The document specifically says Called when collecting the semantics of this node.
https://api.flutter.dev/flutter/rendering/RenderObject/visitChildrenForSemantics.html

I find it surprising that MergeSemantics changes the focus traversal order when it is explicitly defined in the subtree. Perhaps the intention needs to be fixed here?

MergeSemantics does not change the focus traversal order. There are two things:

focus traversal order
2.semantics collection order.

The concatenation is depends on semantics collection order which by default is the paint order and is the same order where the children are passed into the column.
If the behavior is that the merge semantics must concatenate in a different order than the children in the column, this is a new feature request.

I agree that this is an FR.
I was asking whether it is a valid FR. Should MergeSemantics consider focus traversal order? One caveat is that I think focus traversal order isn't entirely determined in Dart. Even if we fix this, there will still be cases where labels will change when MergeSemantics is introduced to the widget tree.

I think we should not overload the sort key with the mergeSemantics. I am a bit worry that we may later on run into a request that want to separate out the sort key with mergeSemantics.
If we want to do this, we should come up with a new api. I wonder what is the use case where the customer wants the merge semantics to concatenate the string in reverse of the display order. That does not feel like a pleasant UI experience.

Agreed that we should learn more about the use case. Could you please post that question to internal issue? Thanks @chunhtai.

closed as WAI, see internal bug for more details

authors: HansMuller chunhtai mehmetf


text:
[web] Accessibility Support

I have made this site using Flutter for my little brother and it looks good and he likes it. The problem is that when I tried to use VoiceOver it did not work as expected. It reads just two things on screen and not in the correct location and does not scroll when I use the three-finger gesture during VoiceOver.
Site link for interested people: https://abdulmalik.alkhalaf.dev/
Video showing the problem on an iPhone 6: https://streamable.com/aghffk#/

@YazeedAlKhalaf
Accessibility support on web is not yet 100%. See some of these open issues related to it.
https://github.com/flutter/flutter/issues/66383
https://github.com/flutter/flutter/issues/52106
https://github.com/flutter/flutter/issues/45198
I'd suggest you follow-up in above issues instead of creating a new issues, because once these are fixed, probably your issue will be fixed too.
Closing this. If you disagree, write in comments and I'll reopen.
Thanks.

authors: YazeedAlKhalaf darshankawar


text:
Linux firebase_abstract_method_smoke_test failed on gcloud firebase step: unexpectedly reached final status ERROR without returning a URL to any test results

Have questions, feedback, or issues? Get support by visiting:
  https://firebase.google.com/support/

Uploading [build/app/outputs/bundle/release/app-release.aab] to Firebase Test Lab...
Raw results will be stored in your GCS bucket at [https://console.developers.google.com/storage/browser/flutter_firebase_testlab/abstract_method_smoke_test/5111d2d128cb8111/]

Test [matrix-2vi45iwh3xqhg] has been created in the Google Cloud.
Firebase Test Lab will execute your robo test on 3 device(s).
Creating individual test executions...
..............................failed.
ERROR: (gcloud.firebase.test.android.run)
Matrix [matrix-2vi45iwh3xqhg] unexpectedly reached final status ERROR without returning a URL to any test results in the Firebase console. Please re-check the validity of your test files and parameters and try again.

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket.appspot.com/8858266913840153264/+/steps/test_execution/0/steps/gcloud_firebase/0/stdout

Closing as obsolete. Please reopen if it happens again.

authors: godofredoc jmagman


text:
Unexpected Dart analysis error: Expected to find ')'.

Steps to Reproduce
I have a file that starts like this:
Let's call this file page.dart
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
...

The dart analysis server produces an unusual error in page.dart: Expected to find ')'.dart(expected_token).
The error is showing at 1:1492 in the analysis, but obviously there is no character at 1492 in this line.
I haven't made changes in this file, yet the analysis server is showing this error.
Logs

Logs

flutter analyze
Analyzing app...

  error • Expected to find ')' • page.dart:1:1492 • expected_token

flutter doctor --verbose
[✓] Flutter (Channel beta, 1.25.0-8.3.pre, on macOS 11.2 20D64 darwin-x64, locale en-US)
    • Flutter version 1.25.0-8.3.pre at /Users/eluckey/Tools/flutter
    • Framework revision 5d36f2e7f5 (4 weeks ago), 2021-01-14 15:57:49 -0800
    • Engine revision 7a8f8ca02c
    • Dart version 2.12.0 (build 2.12.0-133.7.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/eluckey/Library/Android/sdk
    • Platform android-30, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.9.3

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (2 available)
    • Pixel 3 (mobile) • 8BUX1F6L4 • android-arm64  • Android 11 (API 30)
    • Chrome (web)     • chrome    • web-javascript • Google Chrome 88.0.4324.150

• No issues found!

Using flutter channel stable fixes it, but I unable to develop the application for web.

Run flutter channel stable in the terminal.

Hi @Luckey-Elijah
From what I can see, the issue is related to a 3rd party plugin rather than to Flutter itself. Please open the issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself.
You may want to try to restart the analyzer to see if it solves the issue!
If you disagree, please write in the comments,
providing your flutter doctor -v, your flutter run -v,  your pubspec.yaml
a minimal reproducible code sample that does not use 3rd party plugins,
and I will reopen it.
Thank you