Skip to content

[Web] XFile.fromData throws The following ImageCodecException was thrown resolving an image codec: #93068

@muddi900

Description

@muddi900

Steps to Reproduce

The code that is working on Mobile Devices.

final profileImageFile = await _profileImage.readAsBytes();
        if (!kIsWeb) {
          try {
            await ref
                .putData(
                  profileImageFile,
                  fbSorage.SettableMetadata(
                    contentType: 'image/png',
                  ),
                )
                .whenComplete(() {});
          } on Exception catch (e) {
            print(e);
            return;
          }
        }

The _profileImage is the XFile When trying on the web, the uploaded file is corrupted.

The following DomException object was thrown resolving an image codec:
  EncodingError: The source image cannot be decoded.

I used the universal_html package to upload a html.Blob using putBlob method:

if (kIsWeb) {
          await ref
              .putBlob(
                html.Blob(profileImageFile),
                fbSorage.SettableMetadata(
                  contentType: 'image/png',
                ),
              )
              .whenComplete(() {});
        }

Same exception is thrown.

Flutter Run Verbose

Flutter Run
[ +189 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[ +911 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H[   +2 ms] ffb2ecea5223acdd139a5039be2f9c796962833d
[   +2 ms] executing: [C:\flutter/] git tag --points-at
ffb2ecea5223acdd139a5039be2f9c796962833d
[ +168 ms] Exit code 0 from: git tag --points-at
ffb2ecea5223acdd139a5039be2f9c796962833d
[   +2 ms] 2.5.1
[  +31 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +103 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] origin/stable
[   +1 ms] executing: [C:\flutter/] git ls-remote --get-url origin
[  +92 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[ +351 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[ +146 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] stable
[ +165 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skippingupdate.
[   +2 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. 
[   +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.      
[   +9 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping     
update.
[   +2 ms] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping  
update.
[   +2 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping       
update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping       
update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping
update.
[   +2 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping   
update.
[   +2 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping  
update.
[   +2 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping  
update.
[ +157 ms] executing: C:\Users\muddi\AppData\Local\Android\sdk\platform-tools\adb.exe
devices -l
[ +140 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skippingupdate.
[   +2 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. 
[   +9 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping     
update.
[   +1 ms] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping  
update.
[   +2 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping       
update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping       
update.
[   +5 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping
update.
[   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping   
update.
[   +2 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping  
update.
[   +2 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping  
update.
[ +177 ms] executing: C:\Users\muddi\AppData\Local\Android\sdk\platform-tools\adb.exe
devices -l
[  +25 ms] Skipping pub get: version match.
[  +54 ms] Found plugin cloud_firestore at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-2.5.4\
[  +13 ms] Found plugin cloud_firestore_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore_web-2.4.4\
[  +22 ms] Found plugin firebase_auth at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-2.0.0\
[   +5 ms] Found plugin firebase_auth_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth_web-2.0.0\
[   +5 ms] Found plugin firebase_core at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-1.8.0\
[   +9 ms] Found plugin firebase_core_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-1.1.0\
[  +12 ms] Found plugin firebase_storage at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage-10.0.6\
[   +8 ms] Found plugin firebase_storage_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage_web-3.0.4\
[  +19 ms] Found plugin flutter_plugin_android_lifecycle at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-2.0.2\  
[  +14 ms] Found plugin image_picker at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\image_picker-0.8.4+2\
[   +5 ms] Found plugin image_picker_for_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\image_picker_for_web-2.1.0\
[  +10 ms] Found plugin location at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\location-4.3.0\
[   +6 ms] Found plugin location_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\location_web-3.1.1\
[  +23 ms] Found plugin path_provider at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.5\
[   +4 ms] Found plugin path_provider_linux at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.0.2\
[   +5 ms] Found plugin path_provider_macos at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.2\
[   +4 ms] Found plugin path_provider_windows at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.3\
[  +27 ms] Found plugin sqflite at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\sqflite-2.0.0+3\
[  +10 ms] Found plugin stripe_android at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\stripe_android-1.3.0\
[   +4 ms] Found plugin stripe_ios at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\stripe_ios-1.3.0\
[  +20 ms] Found plugin url_launcher at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-6.0.6\
[   +6 ms] Found plugin url_launcher_linux at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_linux-2.0.0\
[   +5 ms] Found plugin url_launcher_macos at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-2.0.0\
[   +8 ms] Found plugin url_launcher_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-2.0.1\
[   +4 ms] Found plugin url_launcher_windows at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_windows-2.0.0\
[   +9 ms] Found plugin video_player at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\video_player-2.2.5\
[   +4 ms] Found plugin video_player_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\video_player_web-2.0.4\
[   +3 ms] Found plugin wakelock at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\
[   +3 ms] Found plugin wakelock_macos at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock_macos-0.4.0\
[   +5 ms] Found plugin wakelock_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock_web-0.4.0\
[   +4 ms] Found plugin webview_flutter at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\webview_flutter-2.0.8\
[ +167 ms] Found plugin cloud_firestore at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-2.5.4\
[   +5 ms] Found plugin cloud_firestore_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore_web-2.4.4\
[  +13 ms] Found plugin firebase_auth at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-2.0.0\
[   +8 ms] Found plugin firebase_auth_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth_web-2.0.0\
[   +3 ms] Found plugin firebase_core at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-1.8.0\
[   +6 ms] Found plugin firebase_core_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-1.1.0\
[   +6 ms] Found plugin firebase_storage at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage-10.0.6\
[   +4 ms] Found plugin firebase_storage_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage_web-3.0.4\
[  +12 ms] Found plugin flutter_plugin_android_lifecycle at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-2.0.2\  
[   +8 ms] Found plugin image_picker at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\image_picker-0.8.4+2\
[   +4 ms] Found plugin image_picker_for_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\image_picker_for_web-2.1.0\
[   +7 ms] Found plugin location at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\location-4.3.0\
[   +3 ms] Found plugin location_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\location_web-3.1.1\
[  +20 ms] Found plugin path_provider at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.5\
[   +5 ms] Found plugin path_provider_linux at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.0.2\
[   +4 ms] Found plugin path_provider_macos at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.2\
[   +6 ms] Found plugin path_provider_windows at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.3\
[  +17 ms] Found plugin sqflite at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\sqflite-2.0.0+3\
[  +10 ms] Found plugin stripe_android at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\stripe_android-1.3.0\
[   +6 ms] Found plugin stripe_ios at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\stripe_ios-1.3.0\
[  +17 ms] Found plugin url_launcher at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-6.0.6\
[   +3 ms] Found plugin url_launcher_linux at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_linux-2.0.0\
[   +2 ms] Found plugin url_launcher_macos at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-2.0.0\
[   +3 ms] Found plugin url_launcher_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-2.0.1\
[   +3 ms] Found plugin url_launcher_windows at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_windows-2.0.0\
[   +7 ms] Found plugin video_player at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\video_player-2.2.5\
[   +5 ms] Found plugin video_player_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\video_player_web-2.0.4\
[   +3 ms] Found plugin wakelock at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\
[   +5 ms] Found plugin wakelock_macos at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock_macos-0.4.0\
[   +5 ms] Found plugin wakelock_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock_web-0.4.0\
[   +4 ms] Found plugin webview_flutter at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\webview_flutter-2.0.8\
[  +46 ms] Generating
C:\src\tennis_over_40\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +125 ms] List of devices attached
                    emulator-5554          device product:sdk_gphone_x86_arm
                    model:AOSP_on_IA_Emulator device:generic_x86_arm transport_id:1    
[ +164 ms] Launching lib\main.dart on Chrome in debug mode...
[  +24 ms] List of devices attached
           emulator-5554          device product:sdk_gphone_x86_arm
           model:AOSP_on_IA_Emulator device:generic_x86_arm transport_id:1
[ +178 ms] Updating assets
[ +309 ms] Manifest contained wildcard assets. Inserting missing file into build graph
to force rerun. for more information see #56466.
[  +11 ms] Waiting for connection from debug service on Chrome...
[  +26 ms] Found plugin cloud_firestore at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-2.5.4\
[   +4 ms] Found plugin cloud_firestore_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore_web-2.4.4\
[  +11 ms] Found plugin firebase_auth at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-2.0.0\
[   +4 ms] Found plugin firebase_auth_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth_web-2.0.0\
[   +4 ms] Found plugin firebase_core at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-1.8.0\
[   +4 ms] Found plugin firebase_core_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-1.1.0\
[   +3 ms] Found plugin firebase_storage at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage-10.0.6\
[   +4 ms] Found plugin firebase_storage_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage_web-3.0.4\
[   +9 ms] Found plugin flutter_plugin_android_lifecycle at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-2.0.2\  
[   +9 ms] Found plugin image_picker at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\image_picker-0.8.4+2\
[   +3 ms] Found plugin image_picker_for_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\image_picker_for_web-2.1.0\
[   +7 ms] Found plugin location at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\location-4.3.0\
[   +4 ms] Found plugin location_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\location_web-3.1.1\
[  +11 ms] Found plugin path_provider at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.5\
[   +3 ms] Found plugin path_provider_linux at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.0.2\
[   +2 ms] Found plugin path_provider_macos at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.2\
[   +4 ms] Found plugin path_provider_windows at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.3\
[  +11 ms] Found plugin sqflite at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\sqflite-2.0.0+3\
[   +6 ms] Found plugin stripe_android at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\stripe_android-1.3.0\
[   +2 ms] Found plugin stripe_ios at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\stripe_ios-1.3.0\
[  +12 ms] Found plugin url_launcher at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-6.0.6\
[   +2 ms] Found plugin url_launcher_linux at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_linux-2.0.0\
[   +3 ms] Found plugin url_launcher_macos at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-2.0.0\
[   +5 ms] Found plugin url_launcher_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-2.0.1\
[   +3 ms] Found plugin url_launcher_windows at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_windows-2.0.0\
[   +5 ms] Found plugin video_player at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\video_player-2.2.5\
[   +5 ms] Found plugin video_player_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\video_player_web-2.0.4\
[   +3 ms] Found plugin wakelock at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\
[   +3 ms] Found plugin wakelock_macos at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock_macos-0.4.0\
[   +4 ms] Found plugin wakelock_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock_web-0.4.0\
[   +3 ms] Found plugin webview_flutter at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\webview_flutter-2.0.8\
[  +34 ms] Found plugin cloud_firestore at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-2.5.4\
[   +3 ms] Found plugin cloud_firestore_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore_web-2.4.4\
[   +8 ms] Found plugin firebase_auth at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-2.0.0\
[   +5 ms] Found plugin firebase_auth_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth_web-2.0.0\
[   +3 ms] Found plugin firebase_core at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-1.8.0\
[   +3 ms] Found plugin firebase_core_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-1.1.0\
[   +2 ms] Found plugin firebase_storage at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage-10.0.6\
[   +4 ms] Found plugin firebase_storage_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage_web-3.0.4\
[   +8 ms] Found plugin flutter_plugin_android_lifecycle at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-2.0.2\  
[   +7 ms] Found plugin image_picker at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\image_picker-0.8.4+2\
[   +3 ms] Found plugin image_picker_for_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\image_picker_for_web-2.1.0\
[   +5 ms] Found plugin location at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\location-4.3.0\
[   +2 ms] Found plugin location_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\location_web-3.1.1\
[  +10 ms] Found plugin path_provider at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.5\
[   +2 ms] Found plugin path_provider_linux at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.0.2\
[   +2 ms] Found plugin path_provider_macos at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.2\
[   +3 ms] Found plugin path_provider_windows at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.3\
[   +8 ms] Found plugin sqflite at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\sqflite-2.0.0+3\
[   +4 ms] Found plugin stripe_android at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\stripe_android-1.3.0\
[   +2 ms] Found plugin stripe_ios at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\stripe_ios-1.3.0\
[   +9 ms] Found plugin url_launcher at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-6.0.6\
[   +2 ms] Found plugin url_launcher_linux at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_linux-2.0.0\
[   +3 ms] Found plugin url_launcher_macos at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-2.0.0\
[   +3 ms] Found plugin url_launcher_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-2.0.1\
[   +3 ms] Found plugin url_launcher_windows at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_windows-2.0.0\
[   +5 ms] Found plugin video_player at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\video_player-2.2.5\
[   +3 ms] Found plugin video_player_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\video_player_web-2.0.4\
[   +3 ms] Found plugin wakelock at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\
[   +2 ms] Found plugin wakelock_macos at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock_macos-0.4.0\
[   +3 ms] Found plugin wakelock_web at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock_web-0.4.0\
[   +3 ms] Found plugin webview_flutter at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\webview_flutter-2.0.8\
[ +216 ms] <- reset
[  +95 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot        
--sdk-root C:\flutter\bin\cache\flutter_web_sdk/ --incremental --target=dartdevc       
--debugger-module-names --experimental-emit-debug-metadata
-DFLUTTER_WEB_AUTO_DETECT=true --output-dill
C:\Users\muddi\AppData\Local\Temp\flutter_tools.c0e86315\flutter_tool.c254fae0\app.dill--libraries-spec file:///C:/flutter/bin/cache/flutter_web_sdk/libraries.json --packagesC:\src\tennis_over_40\.dart_tool\package_config.json -Ddart.vm.profile=false
-Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-root     
C:\Users\muddi\AppData\Local\Temp\flutter_tools.c0e86315\flutter_tools.a5e7cb4d        
--filesystem-scheme org-dartlang-app --initialize-from-dill
build\c7922d95bf4a2462b75c84a97c312edb.cache.dill.track.dill --platform
file:///C:/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill
--no-sound-null-safety
[  +30 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+70293 ms] Waiting for connection from debug service on Chrome... (completed in 71.0s)[   +1 ms] Synced 42.5MB.
[   +1 ms] <- accept
[   +1 ms] Caching compiled dill
[ +906 ms] [CHROME]:
[   +4 ms] [CHROME]:DevTools listening on
ws://127.0.0.1:50608/devtools/browser/c34fb2ab-a3ab-4f94-9d87-3a4c0c203e2d
[+1258 ms] DwdsInjector: Received request for entrypoint at
http://localhost:50506/main_module.bootstrap.js
[  +21 ms] MetadataProvider: Loading debug metadata...
[  +98 ms] MetadataProvider: Loaded debug metadata (no sound null safety)
[  +41 ms] DwdsInjector: Injected debugging metadata for entrypoint at
http://localhost:50506/main_module.bootstrap.js
[+10299 ms] ChromeProxyService: Initializing expression compiler for
main_module.bootstrap.js with sound null safety: false
[ +450 ms] DevHandler: Debug service listening on ws://127.0.0.1:50642/FlIxN623vd8=/ws

[  +68 ms] This app is linked to the debug service:
ws://127.0.0.1:50642/FlIxN623vd8=/ws
[  +33 ms] Debug service listening on ws://127.0.0.1:50642/FlIxN623vd8=/ws
[   +2 ms] Running with unsound null safety
[   +1 ms] For more information see https://dart.dev/null-safety/unsound-null-safety   
[  +10 ms]   To hot restart changes while running, press "r" or "R".
[   +6 ms] For a more detailed help message, press "h". To quit, press "q".
[   +5 ms] An Observatory debugger and profiler on Chrome is available at:
           http://127.0.0.1:50642/FlIxN623vd8=
[+1176 ms] Activating Dart DevTools...
[+1247 ms] WARNING: You are using the Auth Emulator, which is intended for local
testing only.  Do
                    not use with production credentials.

Flutter Analyze

Flutter Analyze
 info - Unused import: 'package:path_provider/path_provider.dart' -
          lib\screens\crop_screen.dart:7:8 - unused_import
   info - Unused import: 'dart:typed_data' - lib\screens\login_screen.dart:2:8 -
          unused_import
   info - Unused import: 'dart:convert' - lib\screens\tennis_court_select.dart:1:8 -   
          unused_import
   info - Unused import: 'package:http/http.dart' -
          lib\screens\tennis_court_select.dart:10:8 - unused_import
   info - Unused import: 'package:universal_io/io.dart' -
          lib\screens\tennis_court_select.dart:11:8 - unused_import
   info - Unused import: '../models/user_data.dart' - lib\widgets\user_avatar.dart:10:8          - unused_import

Flutter Doctor

Flutter Doctor
[√] Flutter (Channel stable, 2.5.1, on Microsoft Windows [Version 10.0.19043.1288],
    locale en-US)
    • Flutter version 2.5.1 at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffb2ecea52 (7 weeks ago), 2021-09-17 15:26:33 -0400
    • Engine revision b3af521a05
    • Dart version 2.14.2

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\muddi\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Program Files\Android\Android Studio1\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

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

[√] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\Android Studio1
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[√] VS Code (version 1.61.2)
    • VS Code at C:\Users\muddi\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.27.0

[√] Connected device (3 available)
    • AOSP on IA Emulator (mobile) • emulator-5554 • android-x86    • Android 9 (API   
      28) (emulator)
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome    
      95.0.4638.69
    • Edge (web)                   • edge          • web-javascript • Microsoft Edge   
      95.0.1020.40

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listfound in release: 2.5Found to occur in 2.5found in release: 2.6Found to occur in 2.6has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: cross_fileThe cross_file pluginpackageflutter/packages repository. See also p: labels.platform-webWeb applications specificallyteam-webOwned by Web platform teamtriaged-webTriaged by Web platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions