Skip to content

Unable to extract exact colours from shader output #125390

@jaween

Description

@jaween

Is there an existing issue for this?

Steps to reproduce

  1. Run the code sample
  2. The output doesn't match the expected output

Expected results

It prints [254, 253, 252, 128]

Actual results

It prints [253, 251, 251, 128]

Code sample

Code sample
import 'dart:ui';

import 'package:flutter/widgets.dart';

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

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

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

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
    _execute();
  }

  void _execute() async {
    final program = await FragmentProgram.fromAsset('assets/shader.frag');
    final pictureRecorder = PictureRecorder();
    final canvas = Canvas(pictureRecorder);
    canvas.drawRect(
      Offset.zero & const Size(1, 1),
      Paint()..shader = program.fragmentShader(),
    );
    final picture = pictureRecorder.endRecording();
    final image = await picture.toImage(1, 1);
    final bytesStraight =
        await image.toByteData(format: ImageByteFormat.rawStraightRgba);
    print(bytesStraight!.buffer.asUint8List());
  }

  @override
  Widget build(BuildContext context) {
    return const SizedBox.shrink();
  }
}
layout(location=0)out vec4 fragColor;

void main() {
  float alpha = 0.5;
  // Premultiply alpha
  fragColor = vec4(254/255.0 * alpha, 253/255.0 * alpha, 252/255.0 * alpha, alpha);
}

Logs

Logs
[  +25 ms] executing: uname -m
[  +10 ms] Exit code 0 from: uname -m
[        ] x86_64
[        ] executing: [/opt/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +5 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 90c64ed42ba53a52d18f0cb3b17666c8662ed2a0
[        ] executing: [/opt/flutter/] git tag --points-at 90c64ed42ba53a52d18f0cb3b17666c8662ed2a0
[  +19 ms] Exit code 0 from: git tag --points-at 90c64ed42ba53a52d18f0cb3b17666c8662ed2a0
[        ] 3.7.8
[  +12 ms] executing: [/opt/flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] origin/stable
[        ] executing: [/opt/flutter/] git ls-remote --get-url origin
[   +5 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +29 ms] executing: [/opt/flutter/] git rev-parse --abbrev-ref HEAD
[   +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +22 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +77 ms] executing: /home/jaween/Android/Sdk/platform-tools/adb devices -l
[  +68 ms] List of devices attached
[   +5 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +79 ms] Skipping pub get: version match.
[ +152 ms] Generating /home/jaween/dev/issue_report/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +104 ms] Initializing file store
[   +7 ms] Skipping target: gen_localizations
[   +9 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /home/jaween/dev/issue_report/.dart_tool/package_config_subset}
[  +27 ms] gen_dart_plugin_registrant: Complete
[   +1 ms] Skipping target: _composite
[   +3 ms] complete
[   +7 ms] Launching lib/main.dart on Linux in debug mode...
[   +4 ms] /opt/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /opt/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root /opt/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --experimental-emit-debug-metadata
-DFLUTTER_WEB_AUTO_DETECT=true --output-dill /tmp/flutter_tools.OMOQLA/flutter_tool.YKNZAQ/app.dill --packages /home/jaween/dev/issue_report/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root
--initialize-from-dill build/c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --verbosity=error --enable-experiment=alternative-invalidation-strategy
[  +34 ms] Building Linux application...
[  +22 ms] <- compile package:issue_report/main.dart
[   +2 ms] executing: [build/linux/x64/debug/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DFLUTTER_TARGET_PLATFORM=linux-x64 /home/jaween/dev/issue_report/linux
[  +46 ms] -- Configuring done
[  +10 ms] -- Generating done
[  +15 ms] -- Build files have been written to: /home/jaween/dev/issue_report/build/linux/x64/debug
[   +7 ms] executing: ninja -C build/linux/x64/debug install
[   +9 ms] ninja: Entering directory `build/linux/x64/debug'
[+4251 ms] [1/5] Generating /home/jaween/dev/issue_report/linux/flutter/ephemeral/libflutter_linux_gtk.so, /home/jaween/dev/issue_report/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h, /home/jaween/dev/issue_report/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h,
/home/jaween/dev/issue_report/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h, /home/jaween/dev/issue_report/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h, /home/jaween/dev/issue_report/linux/flutter/ephemeral/flutter_linux/fl_engine.h,
/home/jaween/dev/issue_report/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h, /home/jaween/dev/issue_report/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h, /home/jaween/dev/issue_report/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h,
/home/jaween/dev/issue_report/linux/flutter/ephemeral/flutter_linux/fl_method_call.h, /home/jaween/dev/issue_report/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h, /home/jaween/dev/issue_report/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h,
/home/jaween/dev/issue_report/linux/flutter/ephemeral/flutter_linux/fl_method_response.h, /home/jaween/dev/issue_report/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h, /home/jaween/dev/issue_report/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h,
/home/jaween/dev/issue_report/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h, /home/jaween/dev/issue_report/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h, /home/jaween/dev/issue_report/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h,
/home/jaween/dev/issue_report/linux/flutter/ephemeral/flutter_linux/fl_value.h, /home/jaween/dev/issue_report/linux/flutter/ephemeral/flutter_linux/fl_view.h, /home/jaween/dev/issue_report/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_
[   +2 ms] [  +18 ms] executing: uname -m
[        ] [  +10 ms] Exit code 0 from: uname -m
[        ] [        ] x86_64
[        ] [        ] executing: [/opt/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [   +4 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] 90c64ed42ba53a52d18f0cb3b17666c8662ed2a0
[        ] [        ] executing: [/opt/flutter/] git tag --points-at 90c64ed42ba53a52d18f0cb3b17666c8662ed2a0
[        ] [  +16 ms] Exit code 0 from: git tag --points-at 90c64ed42ba53a52d18f0cb3b17666c8662ed2a0
[        ] [        ] 3.7.8
[        ] [  +12 ms] executing: [/opt/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [  +14 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [  +96 ms] executing: [/opt/flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] [   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] [        ] origin/stable
[        ] [        ] executing: [/opt/flutter/] git ls-remote --get-url origin
[        ] [   +4 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [        ] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +38 ms] Initializing file store
[        ] [   +5 ms] Done initializing file store
[        ] [  +33 ms] Skipping target: gen_localizations
[        ] [  +13 ms] Skipping target: gen_dart_plugin_registrant
[        ] [ +558 ms] Skipping target: unpack_linux
[        ] [ +381 ms] kernel_snapshot: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /home/jaween/dev/issue_report/lib/main.dart}
[   +2 ms] [  +10 ms] /opt/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /opt/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root /opt/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies
-DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --packages /home/jaween/dev/issue_report/.dart_tool/package_config.json --output-dill /home/jaween/dev/issue_report/.dart_tool/flutter_build/9cfbfcf961349a41fecc3702db58dba3/app.dill
--depfile /home/jaween/dev/issue_report/.dart_tool/flutter_build/9cfbfcf961349a41fecc3702db58dba3/kernel_snapshot.d --incremental --initialize-from-dill /home/jaween/dev/issue_report/.dart_tool/flutter_build/9cfbfcf961349a41fecc3702db58dba3/app.dill --verbosity=error package:issue_report/main.dart
[   +1 ms] [+1283 ms] kernel_snapshot: Complete
[        ] [ +445 ms] debug_bundle_linux-x64_assets: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /home/jaween/dev/issue_report/.dart_tool/flutter_build/9cfbfcf961349a41fecc3702db58dba3/app.dill,/home/jaween/dev/issue_report/assets/revert_image.frag}
[   +1 ms] [ +134 ms] shaderc command: [/opt/flutter/bin/cache/artifacts/engine/linux-x64/impellerc, --sksl, --iplr, --sl=/home/jaween/dev/issue_report/build/flutter_assets/assets/diff_images.frag, --spirv=/home/jaween/dev/issue_report/build/flutter_assets/assets/diff_images.frag.spirv,
--input=/home/jaween/dev/issue_report/assets/diff_images.frag, --input-type=frag, --remap-samplers, --include=/home/jaween/dev/issue_report/assets, --include=/opt/flutter/bin/cache/artifacts/engine/linux-x64/shader_lib]
[   +2 ms] [        ] shaderc command: [/opt/flutter/bin/cache/artifacts/engine/linux-x64/impellerc, --sksl, --iplr, --sl=/home/jaween/dev/issue_report/build/flutter_assets/assets/revert_image.frag, --spirv=/home/jaween/dev/issue_report/build/flutter_assets/assets/revert_image.frag.spirv,
--input=/home/jaween/dev/issue_report/assets/revert_image.frag, --input-type=frag, --remap-samplers, --include=/home/jaween/dev/issue_report/assets, --include=/opt/flutter/bin/cache/artifacts/engine/linux-x64/shader_lib]
[   +2 ms] [   +1 ms] shaderc command: [/opt/flutter/bin/cache/artifacts/engine/linux-x64/impellerc, --sksl, --iplr, --sl=/home/jaween/dev/issue_report/build/flutter_assets/shaders/ink_sparkle.frag, --spirv=/home/jaween/dev/issue_report/build/flutter_assets/shaders/ink_sparkle.frag.spirv,
--input=/opt/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag, --input-type=frag, --remap-samplers, --include=/opt/flutter/packages/flutter/lib/src/material/shaders, --include=/opt/flutter/bin/cache/artifacts/engine/linux-x64/shader_lib]
[   +1 ms] [ +242 ms] debug_bundle_linux-x64_assets: Complete
[        ] [ +224 ms] Persisting file store
[        ] [   +5 ms] Done persisting file store
[        ] [   +4 ms] build succeeded.
[        ] [   +6 ms] "flutter assemble" took 3,515ms.
[        ] [ +255 ms] ensureAnalyticsSent: 252ms
[        ] [        ] Running 0 shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [   +1 ms] exiting with code 0
[ +499 ms] [2/5] Building CXX object CMakeFiles/issue_report.dir/flutter/generated_plugin_registrant.cc.o
[  +65 ms] [3/5] Building CXX object CMakeFiles/issue_report.dir/my_application.cc.o
[ +172 ms] [4/5] Linking CXX executable intermediates_do_not_run/issue_report
[        ] [4/5] Install the project...
[   +9 ms] -- Install configuration: "Debug"
[  +18 ms] -- Installing: /home/jaween/dev/issue_report/build/linux/x64/debug/bundle/issue_report
[        ] -- Set runtime path of "/home/jaween/dev/issue_report/build/linux/x64/debug/bundle/issue_report" to "$ORIGIN/lib"
[        ] -- Installing: /home/jaween/dev/issue_report/build/linux/x64/debug/bundle/data/icudtl.dat
[   +2 ms] -- Installing: /home/jaween/dev/issue_report/build/linux/x64/debug/bundle/lib/libflutter_linux_gtk.so
[  +86 ms] -- Installing: /home/jaween/dev/issue_report/build/linux/x64/debug/bundle/data/flutter_assets
[        ] -- Installing: /home/jaween/dev/issue_report/build/linux/x64/debug/bundle/data/flutter_assets/kernel_blob.bin
[  +69 ms] -- Installing: /home/jaween/dev/issue_report/build/linux/x64/debug/bundle/data/flutter_assets/FontManifest.json
[        ] -- Installing: /home/jaween/dev/issue_report/build/linux/x64/debug/bundle/data/flutter_assets/version.json
[        ] -- Installing: /home/jaween/dev/issue_report/build/linux/x64/debug/bundle/data/flutter_assets/shaders
[        ] -- Installing: /home/jaween/dev/issue_report/build/linux/x64/debug/bundle/data/flutter_assets/shaders/ink_sparkle.frag
[        ] -- Installing: /home/jaween/dev/issue_report/build/linux/x64/debug/bundle/data/flutter_assets/NOTICES.Z
[        ] -- Installing: /home/jaween/dev/issue_report/build/linux/x64/debug/bundle/data/flutter_assets/packages
[        ] -- Installing: /home/jaween/dev/issue_report/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons
[        ] -- Installing: /home/jaween/dev/issue_report/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons/assets
[        ] -- Installing: /home/jaween/dev/issue_report/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf
[        ] -- Installing: /home/jaween/dev/issue_report/build/linux/x64/debug/bundle/data/flutter_assets/assets
[        ] -- Installing: /home/jaween/dev/issue_report/build/linux/x64/debug/bundle/data/flutter_assets/assets/revert_image.frag
[        ] -- Installing: /home/jaween/dev/issue_report/build/linux/x64/debug/bundle/data/flutter_assets/assets/diff_images.frag
[        ] -- Installing: /home/jaween/dev/issue_report/build/linux/x64/debug/bundle/data/flutter_assets/AssetManifest.json
[        ] -- Installing: /home/jaween/dev/issue_report/build/linux/x64/debug/bundle/data/flutter_assets/fonts
[        ] -- Installing: /home/jaween/dev/issue_report/build/linux/x64/debug/bundle/data/flutter_assets/fonts/MaterialIcons-Regular.otf
[  +12 ms] Building Linux application... (completed in 5.3s)
[ +254 ms] Observatory URL on device: http://127.0.0.1:38495/5JxjAQ9dnZI=/
[   +3 ms] Caching compiled dill
[  +71 ms] Connecting to service protocol: http://127.0.0.1:38495/5JxjAQ9dnZI=/
[ +132 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:38495/5JxjAQ9dnZI=/.
[ +103 ms] DDS is listening at http://127.0.0.1:43383/Ww2KkdZizo4=/.
[  +50 ms] flutter: [253, 251, 251, 128]
[  +19 ms] Successfully connected to service protocol: http://127.0.0.1:38495/5JxjAQ9dnZI=/
[  +41 ms] DevFS: Creating new filesystem on the device (null)
[  +16 ms] DevFS: Created new filesystem on the device (file:///tmp/issue_reportOKMHMN/issue_report/)
[   +2 ms] Updating assets
[  +84 ms] Syncing files to device Linux...
[   +1 ms] Compiling dart to kernel with 0 updated files
[        ] Processing bundle.
[   +1 ms] <- recompile package:issue_report/main.dart 46e1c811-7478-4b1c-826f-b7e95a9befdc
[        ] <- 46e1c811-7478-4b1c-826f-b7e95a9befdc
[   +1 ms] Bundle processing done.
[  +81 ms] Updating files.
[        ] DevFS: Sync finished
[   +1 ms] Syncing files to device Linux... (completed in 87ms)
[        ] Synced 0.0MB.
[   +1 ms] <- accept
[   +2 ms] Connected to _flutterView/0x55afa9c69450.
[   +2 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[   +1 ms] R Hot restart.
[        ] h List all available interactive commands.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] 💪 Running with sound null safety 💪
[   +1 ms] An Observatory debugger and profiler on Linux is available at: http://127.0.0.1:43383/Ww2KkdZizo4=/
[  +17 ms] The Flutter DevTools debugger and profiler on Linux is available at: http://127.0.0.1:9101?uri=http://127.0.0.1:43383/Ww2KkdZizo4=/

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.7.8, on Ubuntu 22.04.2 LTS 5.19.0-40-generic, locale en_AU.UTF-8)
    • Flutter version 3.7.8 on channel stable at /opt/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 90c64ed42b (5 weeks ago), 2023-03-21 11:27:08 -0500
    • Engine revision 9aa7816315
    • Dart version 2.19.5
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /home/jaween/Android/Sdk
    • Platform android-33-ext5, build-tools 33.0.2
    • Java binary at: /opt/android-studio/jbr/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

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

[✓] Android Studio (version 2022.1)
    • Android Studio at /opt/android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

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

[✓] Connected device (1 available)
    • Linux (desktop) • linux • linux-x64 • Ubuntu 22.04.2 LTS 5.19.0-40-generic

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

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listengineflutter/engine related. See also e: labels.found in release: 3.10Found to occur in 3.10found in release: 3.7Found to occur in 3.7frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onteam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions