Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Surprising behavior of srcOver BlendMode on image with alpha channel from decodeImageFromPixels() #116200

Open
cbatson opened this issue Nov 29, 2022 · 3 comments
Labels
a: images Loading, displaying, rendering images d: api docs Issues with https://api.flutter.dev/ engine flutter/engine repository. See also e: labels. found in release: 3.3 Found to occur in 3.3 found in release: 3.6 Found to occur in 3.6 has reproducible steps The issue has been confirmed reproducible and is ready to work on P2 Important issues not at the top of the work list team-engine Owned by Engine team triaged-engine Triaged by Engine team

Comments

@cbatson
Copy link

cbatson commented Nov 29, 2022

Steps to Reproduce

  1. Put the below code sample into a project
  2. Run the project
  3. Observe behavior of the srcOver BlendMode.

This behavior has been observed on an iOS device, macOS, and Chrome.

Expected results:

See image below. I expected to see the red square with alpha channel blend smoothly over the green. In fact, the image below is generated by the sample code by calculating the composition manually as per my understanding of the "over" Porter-Duff operation. In other words, I expected a composition along the lines of color_out = color_src * alpha_src + color_dst * (1 - alpha_src).

expected

Actual results:

See image below. The composition looks as expected when over a white background. Over a black background, the alpha channel is not evident at all. And over a green background, the translucent areas become yellow. It behaves as if the composition being performed is color_out = color_src + color_dst * (1 - alpha_src) (i.e. source color not multiplied by source alpha).

actual

Code sample
import 'dart:async';
import 'dart:ui' as ui;
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';

const d = 128;

Uint8List getImage1() { // solid opaque green
  var pixels = Uint8List(d * d * 4);
  for (var i = 0; i < d; i++) {
    for (var j = 0; j < d; j++) {
      var t = (i * d + j) * 4;
      pixels[t + 0] = 0;
      pixels[t + 1] = 255;
      pixels[t + 2] = 0;
      pixels[t + 3] = 255;
    }
  }
  return pixels;
}

Uint8List getImage2() { // red with vertical gradient in alpha channel
  var pixels = Uint8List(d * d * 4);
  for (var i = 0; i < d; i++) {
    for (var j = 0; j < d; j++) {
      var t = (i * d + j) * 4;
      pixels[t + 0] = 0;
      pixels[t + 1] = 0;
      pixels[t + 2] = 0xff;
      pixels[t + 3] = 255 - (0xff * j / d).truncate();
    }
  }
  return pixels;
}

Future<ui.Image> loadImage(Uint8List pixels) {
  var c = Completer<ui.Image>();
  ui.decodeImageFromPixels(
    pixels, d, d,
    ui.PixelFormat.bgra8888,
    (result) => c.complete(result),
  );
  return c.future;
}

Uint8List manualBlend(Uint8List src, Uint8List dst) {
  var pixels = Uint8List(d * d * 4);
  for (var i = 0; i < d * d; i++) {
    var t = i * 4;
    // https://en.wikipedia.org/wiki/Alpha_compositing
    var aa = src[t + 3] / 255;
    var ab = dst[t + 3] / 255;
    var ao = aa + ab * (1 - aa);
    pixels[t + 0] = ((src[t + 0] * aa + dst[t + 0] * ab * (1 - aa)) / ao).truncate();
    pixels[t + 1] = ((src[t + 1] * aa + dst[t + 1] * ab * (1 - aa)) / ao).truncate();
    pixels[t + 2] = ((src[t + 2] * aa + dst[t + 2] * ab * (1 - aa)) / ao).truncate();
    pixels[t + 3] = 255;
  }
  return pixels;
}

ui.Image? img1;
ui.Image? img2;
ui.Image? img3;

void main() async {
  var pixels1 = getImage1();
  var pixels2 = getImage2();
  img1 = await loadImage(pixels1);
  img2 = await loadImage(pixels2);
  var blended = manualBlend(pixels2, pixels1);
  img3 = await loadImage(blended);
  runApp(const MyApp());
}

class MyWidget extends StatelessWidget {
  final ui.Image image;
  final BlendMode blendMode;

  const MyWidget(this.image, this.blendMode, [Key? key]) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return CustomPaint(
      painter: _MyPainter(image, blendMode),
      child: SizedBox(width: image.width.toDouble(), height: image.height.toDouble()),
    );
  }
}

class _MyPainter extends CustomPainter {
  final ui.Image image;
  final BlendMode blendMode;

  _MyPainter(this.image, this.blendMode);

  @override
  void paint(Canvas canvas, Size size) {
    var paint = Paint()
      ..blendMode = blendMode;
    canvas.drawImage(image, Offset.zero, paint);
  }

  @override
  bool shouldRepaint(CustomPainter oldDelegate) => false;
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key}) : super(key: key);
  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> with SingleTickerProviderStateMixin {
  AnimationController? _controller;
  CurvedAnimation? _animation;

  @override
  void initState() {
    super.initState();
    _controller = AnimationController(duration: Duration(seconds: 2), vsync: this);
    _animation = CurvedAnimation(parent: _controller!, curve: Curves.easeInOutSine);
    _controller!.repeat(reverse: true);
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      //backgroundColor: Colors.black,
      appBar: AppBar(title: Text('Hi')),
      body: Center(
        child:
          AnimatedBuilder(
            animation: _animation!,
            builder: (context, child) {
              return Row(
                mainAxisAlignment: MainAxisAlignment.center,
                children: <Widget>[
                  _container(Colors.white),
                  SizedBox(width: 20),
                  _container(Colors.black),
                  SizedBox(width: 20),
                  MyWidget(img3!, BlendMode.srcOver),
                ],
              );
            },
          )
      ),
    );
  }

  Widget _container(Color color) {
    return Container(
      color: color,
      width: 160,
      height: 224,
      child: Stack(
        children: [
          Positioned(
            left: 32,
            child: Container(
              width: 128,
              height: 128,
              color: ui.Color.fromARGB(255, 0, 255, 0),
            ),
          ),
          Positioned(
            top: 32 + 64 * _animation!.value,
            child: MyWidget(img2!, BlendMode.srcOver),
          ),
        ],
      ),
    );
  }
}
Logs

(Initial part of log omitted due to GitHub limit of 65536 characters.)

hello_flutter$ flutter run --verbose -d macOS
[... omitted ...]
[  +15 ms] PhaseScriptExecution Run\ Script
/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/Script-3399D490228B24CF009A79C7.sh (in target 'Runner'
from project 'Runner')
[        ]     cd /Users/chuck/projects/flutter/hello_flutter/macos
[        ]     export ACTION\=build
[        ]     export AD_HOC_CODE_SIGNING_ALLOWED\=YES
[        ]     export ALLOW_TARGET_PLATFORM_SPECIALIZATION\=NO
[        ]     export ALTERNATE_GROUP\=staff
[        ]     export ALTERNATE_MODE\=u+w,go-w,a+rX
[        ]     export ALTERNATE_OWNER\=chuck
[        ]     export ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES\=NO
[        ]     export ALWAYS_SEARCH_USER_PATHS\=NO
[        ]     export ALWAYS_USE_SEPARATE_HEADERMAPS\=NO
[        ]     export APPLE_INTERNAL_DEVELOPER_DIR\=/AppleInternal/Developer
[        ]     export APPLE_INTERNAL_DIR\=/AppleInternal
[        ]     export APPLE_INTERNAL_DOCUMENTATION_DIR\=/AppleInternal/Documentation
[        ]     export APPLE_INTERNAL_LIBRARY_DIR\=/AppleInternal/Library
[        ]     export APPLE_INTERNAL_TOOLS\=/AppleInternal/Developer/Tools
[        ]     export APPLICATION_EXTENSION_API_ONLY\=NO
[        ]     export APPLY_RULES_IN_COPY_FILES\=NO
[        ]     export APPLY_RULES_IN_COPY_HEADERS\=NO
[        ]     export ARCHS\=x86_64
[        ]     export ARCHS_STANDARD\=arm64\ x86_64
[        ]     export ARCHS_STANDARD_32_64_BIT\=arm64\ x86_64\ i386
[        ]     export ARCHS_STANDARD_32_BIT\=i386
[        ]     export ARCHS_STANDARD_64_BIT\=arm64\ x86_64
[        ]     export ARCHS_STANDARD_INCLUDING_64_BIT\=arm64\ x86_64
[        ]     export ASSETCATALOG_COMPILER_APPICON_NAME\=AppIcon
[        ]     export AVAILABLE_PLATFORMS\=appletvos\ appletvsimulator\ driverkit\ iphoneos\ iphonesimulator\ macosx\ watchos\ watchsimulator
[        ]     export BITCODE_GENERATION_MODE\=marker
[        ]     export BUILD_ACTIVE_RESOURCES_ONLY\=NO
[        ]     export BUILD_COMPONENTS\=headers\ build
[        ]     export BUILD_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products
[        ]     export BUILD_LIBRARY_FOR_DISTRIBUTION\=NO
[        ]     export BUILD_ROOT\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products
[        ]     export BUILD_STYLE\=
[        ]     export BUILD_VARIANTS\=normal
[        ]     export BUILT_PRODUCTS_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug
[        ]     export BUNDLE_CONTENTS_FOLDER_PATH\=Contents/
[        ]     export BUNDLE_CONTENTS_FOLDER_PATH_deep\=Contents/
[        ]     export BUNDLE_EXECUTABLE_FOLDER_NAME_deep\=MacOS
[        ]     export BUNDLE_EXECUTABLE_FOLDER_PATH\=Contents/MacOS
[        ]     export BUNDLE_EXTENSIONS_FOLDER_PATH\=Contents/Extensions
[        ]     export BUNDLE_FORMAT\=deep
[        ]     export BUNDLE_FRAMEWORKS_FOLDER_PATH\=Contents/Frameworks
[        ]     export BUNDLE_PLUGINS_FOLDER_PATH\=Contents/PlugIns
[        ]     export BUNDLE_PRIVATE_HEADERS_FOLDER_PATH\=Contents/PrivateHeaders
[        ]     export BUNDLE_PUBLIC_HEADERS_FOLDER_PATH\=Contents/Headers
[        ]     export CACHE_ROOT\=/var/folders/td/_n758tgj4sl238sbj7nz0zt00000gn/C/com.apple.DeveloperTools/14.1-14B47b/Xcode
[        ]     export CCHROOT\=/var/folders/td/_n758tgj4sl238sbj7nz0zt00000gn/C/com.apple.DeveloperTools/14.1-14B47b/Xcode
[        ]     export CHMOD\=/bin/chmod
[        ]     export CHOWN\=/usr/sbin/chown
[        ]     export CLANG_ANALYZER_NONNULL\=YES
[        ]     export CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION\=YES_AGGRESSIVE
[        ]     export CLANG_CXX_LANGUAGE_STANDARD\=gnu++14
[        ]     export CLANG_CXX_LIBRARY\=libc++
[        ]     export CLANG_ENABLE_MODULES\=YES
[        ]     export CLANG_ENABLE_OBJC_ARC\=YES
[        ]     export CLANG_MODULES_BUILD_SESSION_FILE\=/Users/chuck/projects/flutter/hello_flutter/build/macos/ModuleCache.noindex/Session.modulevalidation
[        ]     export CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY\=YES
[        ]     export CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING\=YES
[        ]     export CLANG_WARN_BOOL_CONVERSION\=YES
[        ]     export CLANG_WARN_COMMA\=YES
[        ]     export CLANG_WARN_CONSTANT_CONVERSION\=YES
[        ]     export CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS\=YES
[        ]     export CLANG_WARN_DIRECT_OBJC_ISA_USAGE\=YES_ERROR
[        ]     export CLANG_WARN_DOCUMENTATION_COMMENTS\=YES
[        ]     export CLANG_WARN_EMPTY_BODY\=YES
[        ]     export CLANG_WARN_ENUM_CONVERSION\=YES
[        ]     export CLANG_WARN_INFINITE_RECURSION\=YES
[        ]     export CLANG_WARN_INT_CONVERSION\=YES
[        ]     export CLANG_WARN_NON_LITERAL_NULL_CONVERSION\=YES
[        ]     export CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF\=YES
[        ]     export CLANG_WARN_OBJC_LITERAL_CONVERSION\=YES
[        ]     export CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK\=YES
[        ]     export CLANG_WARN_OBJC_ROOT_CLASS\=YES_ERROR
[        ]     export CLANG_WARN_PRAGMA_PACK\=YES
[        ]     export CLANG_WARN_RANGE_LOOP_ANALYSIS\=YES
[        ]     export CLANG_WARN_STRICT_PROTOTYPES\=YES
[        ]     export CLANG_WARN_SUSPICIOUS_MOVE\=YES
[        ]     export CLANG_WARN_UNGUARDED_AVAILABILITY\=YES_AGGRESSIVE
[        ]     export CLANG_WARN_UNREACHABLE_CODE\=YES
[        ]     export CLANG_WARN__DUPLICATE_METHOD_MATCH\=YES
[        ]     export CLASS_FILE_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/JavaClasses
[        ]     export CLEAN_PRECOMPS\=YES
[        ]     export CLONE_HEADERS\=NO
[        ]     export COCOAPODS_PARALLEL_CODE_SIGN\=true
[        ]     export CODESIGNING_FOLDER_PATH\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/hello_flutter.app
[        ]     export CODE_SIGNING_ALLOWED\=YES
[        ]     export CODE_SIGNING_REQUIRED\=YES
[        ]     export CODE_SIGN_ENTITLEMENTS\=Runner/DebugProfile.entitlements
[        ]     export CODE_SIGN_IDENTITY\=-
[        ]     export CODE_SIGN_IDENTITY_NO\=Apple\ Development
[        ]     export CODE_SIGN_IDENTITY_YES\=-
[        ]     export CODE_SIGN_INJECT_BASE_ENTITLEMENTS\=YES
[        ]     export CODE_SIGN_STYLE\=Automatic
[        ]     export COLOR_DIAGNOSTICS\=NO
[        ]     export COMBINE_HIDPI_IMAGES\=YES
[        ]     export COMPILER_INDEX_STORE_ENABLE\=NO
[        ]     export COMPOSITE_SDK_DIRS\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/CompositeSDKs
[        ]     export COMPRESS_PNG_FILES\=NO
[        ]     export CONFIGURATION\=Debug
[        ]     export CONFIGURATION_BUILD_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug
[        ]     export CONFIGURATION_TEMP_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug
[        ]     export CONTENTS_FOLDER_PATH\=hello_flutter.app/Contents
[        ]     export CONTENTS_FOLDER_PATH_SHALLOW_BUNDLE_NO\=hello_flutter.app/Contents
[        ]     export CONTENTS_FOLDER_PATH_SHALLOW_BUNDLE_YES\=hello_flutter.app
[        ]     export COPYING_PRESERVES_HFS_DATA\=NO
[        ]     export COPY_HEADERS_RUN_UNIFDEF\=NO
[        ]     export COPY_PHASE_STRIP\=NO
[        ]     export COPY_RESOURCES_FROM_STATIC_FRAMEWORKS\=YES
[        ]     export CP\=/bin/cp
[        ]     export CREATE_INFOPLIST_SECTION_IN_BINARY\=NO
[        ]     export CURRENT_ARCH\=undefined_arch
[        ]     export CURRENT_VARIANT\=normal
[        ]     export DART_DEFINES\=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ\=\=
[        ]     export DART_OBFUSCATION\=false
[        ]     export DEAD_CODE_STRIPPING\=NO
[        ]     export DEBUGGING_SYMBOLS\=YES
[        ]     export DEBUG_INFORMATION_FORMAT\=dwarf
[        ]     export DEFAULT_COMPILER\=com.apple.compilers.llvm.clang.1_0
[        ]     export DEFAULT_DEXT_INSTALL_PATH\=/System/Library/DriverExtensions
[        ]     export DEFAULT_KEXT_INSTALL_PATH\=/System/Library/Extensions
[        ]     export DEFINES_MODULE\=NO
[        ]     export DEPLOYMENT_LOCATION\=NO
[        ]     export DEPLOYMENT_POSTPROCESSING\=NO
[        ]     export DEPLOYMENT_TARGET_SETTING_NAME\=MACOSX_DEPLOYMENT_TARGET
[        ]     export DEPLOYMENT_TARGET_SUGGESTED_VALUES\=10.13\ 10.14\ 10.15\ 11.0\ 11.1\ 11.2\ 11.3\ 11.4\ 11.5\ 12.0\ 12.2\ 12.3\ 12.4\ 13.0
[        ]     export DERIVED_FILES_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/DerivedSources
[        ]     export DERIVED_FILE_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/DerivedSources
[        ]     export DERIVED_SOURCES_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/DerivedSources
[        ]     export DEVELOPER_APPLICATIONS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications
[        ]     export DEVELOPER_BIN_DIR\=/Applications/Xcode.app/Contents/Developer/usr/bin
[        ]     export DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer
[        ]     export DEVELOPER_FRAMEWORKS_DIR\=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
[        ]     export DEVELOPER_FRAMEWORKS_DIR_QUOTED\=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
[        ]     export DEVELOPER_LIBRARY_DIR\=/Applications/Xcode.app/Contents/Developer/Library
[        ]     export DEVELOPER_SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
[        ]     export DEVELOPER_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Tools
[        ]     export DEVELOPER_USR_DIR\=/Applications/Xcode.app/Contents/Developer/usr
[        ]     export DEVELOPMENT_LANGUAGE\=en
[        ]     export DOCUMENTATION_FOLDER_PATH\=hello_flutter.app/Contents/Resources/en.lproj/Documentation
[        ]     export DONT_GENERATE_INFOPLIST_FILE\=NO
[        ]     export DO_HEADER_SCANNING_IN_JAM\=NO
[        ]     export DSTROOT\=/tmp/Runner.dst
[        ]     export DT_TOOLCHAIN_DIR\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
[        ]     export DWARF_DSYM_FILE_NAME\=hello_flutter.app.dSYM
[        ]     export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT\=NO
[        ]     export DWARF_DSYM_FOLDER_PATH\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug
[        ]     export DYNAMIC_LIBRARY_EXTENSION\=dylib
[        ]     export EAGER_LINKING\=NO
[        ]     export EMBEDDED_CONTENT_CONTAINS_SWIFT\=NO
[        ]     export EMBEDDED_PROFILE_NAME\=embedded.provisionprofile
[        ]     export EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE\=NO
[        ]     export ENABLE_APP_SANDBOX\=NO
[        ]     export ENABLE_BITCODE\=NO
[        ]     export ENABLE_DEFAULT_HEADER_SEARCH_PATHS\=YES
[        ]     export ENABLE_DEFAULT_SEARCH_PATHS\=YES
[        ]     export ENABLE_HARDENED_RUNTIME\=NO
[        ]     export ENABLE_HEADER_DEPENDENCIES\=YES
[        ]     export ENABLE_ON_DEMAND_RESOURCES\=NO
[        ]     export ENABLE_PREVIEWS\=NO
[        ]     export ENABLE_STRICT_OBJC_MSGSEND\=YES
[        ]     export ENABLE_TESTABILITY\=YES
[        ]     export ENABLE_TESTING_SEARCH_PATHS\=NO
[        ]     export ENABLE_USER_SCRIPT_SANDBOXING\=NO
[        ]     export ENTITLEMENTS_ALLOWED\=YES
[        ]     export ENTITLEMENTS_DESTINATION\=Signature
[        ]     export ENTITLEMENTS_REQUIRED\=NO
[        ]     export EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS\=.DS_Store\ .svn\ .git\ .hg\ CVS
[        ]     export EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES\=\*.nib\ \*.lproj\ \*.framework\ \*.gch\ \*.xcode\*\ \*.xcassets\ \(\*\)\ .DS_Store\ CVS\ .svn\ .git\
.hg\ \*.pbproj\ \*.pbxproj
[        ]     export EXECUTABLES_FOLDER_PATH\=hello_flutter.app/Contents/Executables
[        ]     export EXECUTABLE_FOLDER_PATH\=hello_flutter.app/Contents/MacOS
[        ]     export EXECUTABLE_FOLDER_PATH_SHALLOW_BUNDLE_NO\=hello_flutter.app/Contents/MacOS
[        ]     export EXECUTABLE_FOLDER_PATH_SHALLOW_BUNDLE_YES\=hello_flutter.app/Contents
[        ]     export EXECUTABLE_NAME\=hello_flutter
[        ]     export EXECUTABLE_PATH\=hello_flutter.app/Contents/MacOS/hello_flutter
[        ]     export EXPANDED_CODE_SIGN_IDENTITY\=-
[        ]     export EXPANDED_CODE_SIGN_IDENTITY_NAME\=-
[        ]     export EXTENSIONS_FOLDER_PATH\=hello_flutter.app/Contents/Extensions
[        ]     export FILE_LIST\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/Objects/LinkFileList
[        ]     export FIXED_FILES_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/FixedFiles
[        ]     export FLUTTER_APPLICATION_PATH\=/Users/chuck/projects/flutter/hello_flutter
[        ]     export FLUTTER_BUILD_DIR\=build
[        ]     export FLUTTER_BUILD_NAME\=1.0.0
[        ]     export FLUTTER_BUILD_NUMBER\=1
[        ]     export FLUTTER_ROOT\=/Users/chuck/flutter
[        ]     export FLUTTER_TARGET\=/Users/chuck/projects/flutter/hello_flutter/lib/main.dart
[        ]     export FRAMEWORKS_FOLDER_PATH\=hello_flutter.app/Contents/Frameworks
[        ]     export FRAMEWORK_FLAG_PREFIX\=-framework
[        ]     export FRAMEWORK_SEARCH_PATHS\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug\ 
[        ]     export FRAMEWORK_VERSION\=A
[        ]     export FULL_PRODUCT_NAME\=hello_flutter.app
[        ]     export FUSE_BUILD_PHASES\=YES
[        ]     export FUSE_BUILD_SCRIPT_PHASES\=NO
[        ]     export GCC3_VERSION\=3.3
[        ]     export GCC_C_LANGUAGE_STANDARD\=gnu11
[        ]     export GCC_DYNAMIC_NO_PIC\=NO
[        ]     export GCC_INLINES_ARE_PRIVATE_EXTERN\=YES
[        ]     export GCC_NO_COMMON_BLOCKS\=YES
[        ]     export GCC_OPTIMIZATION_LEVEL\=0
[        ]     export GCC_PFE_FILE_C_DIALECTS\=c\ objective-c\ c++\ objective-c++
[        ]     export GCC_PREPROCESSOR_DEFINITIONS\=DEBUG\=1\ 
[        ]     export GCC_SYMBOLS_PRIVATE_EXTERN\=NO
[        ]     export GCC_TREAT_WARNINGS_AS_ERRORS\=NO
[        ]     export GCC_VERSION\=com.apple.compilers.llvm.clang.1_0
[        ]     export GCC_VERSION_IDENTIFIER\=com_apple_compilers_llvm_clang_1_0
[        ]     export GCC_WARN_64_TO_32_BIT_CONVERSION\=YES
[        ]     export GCC_WARN_ABOUT_RETURN_TYPE\=YES_ERROR
[        ]     export GCC_WARN_SHADOW\=YES
[        ]     export GCC_WARN_STRICT_SELECTOR_MATCH\=YES
[        ]     export GCC_WARN_UNDECLARED_SELECTOR\=YES
[        ]     export GCC_WARN_UNINITIALIZED_AUTOS\=YES_AGGRESSIVE
[        ]     export GCC_WARN_UNUSED_FUNCTION\=YES
[        ]     export GCC_WARN_UNUSED_VARIABLE\=YES
[        ]     export GENERATED_MODULEMAP_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/GeneratedModuleMaps
[        ]     export GENERATE_INFOPLIST_FILE\=NO
[        ]     export GENERATE_MASTER_OBJECT_FILE\=NO
[        ]     export GENERATE_PKGINFO_FILE\=YES
[        ]     export GENERATE_PROFILING_CODE\=NO
[        ]     export GENERATE_TEXT_BASED_STUBS\=NO
[        ]     export GID\=20
[        ]     export GROUP\=staff
[        ]     export HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT\=YES
[        ]     export HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES\=YES
[        ]     export HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS\=YES
[        ]     export HEADERMAP_INCLUDES_PROJECT_HEADERS\=YES
[        ]     export HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES\=YES
[        ]     export HEADERMAP_USES_VFS\=NO
[        ]     export HEADER_SEARCH_PATHS\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/include\ 
[        ]     export HIDE_BITCODE_SYMBOLS\=YES
[        ]     export HOME\=/Users/chuck
[        ]     export HOST_PLATFORM\=macosx
[        ]     export ICONV\=/usr/bin/iconv
[        ]     export INFOPLIST_EXPAND_BUILD_SETTINGS\=YES
[        ]     export INFOPLIST_FILE\=Runner/Info.plist
[        ]     export INFOPLIST_OUTPUT_FORMAT\=same-as-input
[        ]     export INFOPLIST_PATH\=hello_flutter.app/Contents/Info.plist
[        ]     export INFOPLIST_PREPROCESS\=NO
[        ]     export INFOSTRINGS_PATH\=hello_flutter.app/Contents/Resources/en.lproj/InfoPlist.strings
[        ]     export INLINE_PRIVATE_FRAMEWORKS\=NO
[        ]     export INSTALLHDRS_COPY_PHASE\=NO
[        ]     export INSTALLHDRS_SCRIPT_PHASE\=NO
[        ]     export INSTALL_DIR\=/tmp/Runner.dst/Applications
[        ]     export INSTALL_GROUP\=staff
[        ]     export INSTALL_MODE_FLAG\=u+w,go-w,a+rX
[        ]     export INSTALL_OWNER\=chuck
[        ]     export INSTALL_PATH\=/Applications
[        ]     export INSTALL_ROOT\=/tmp/Runner.dst
[        ]     export IOS_UNZIPPERED_TWIN_PREFIX_PATH\=/System/iOSSupport
[        ]     export IS_MACCATALYST\=NO
[        ]     export IS_UIKITFORMAC\=NO
[        ]     export JAVAC_DEFAULT_FLAGS\=-J-Xms64m\ -J-XX:NewSize\=4M\ -J-Dfile.encoding\=UTF8
[        ]     export JAVA_APP_STUB\=/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
[        ]     export JAVA_ARCHIVE_CLASSES\=YES
[        ]     export JAVA_ARCHIVE_TYPE\=JAR
[        ]     export JAVA_COMPILER\=/usr/bin/javac
[        ]     export JAVA_FOLDER_PATH\=hello_flutter.app/Contents/Resources/Java
[        ]     export JAVA_FRAMEWORK_RESOURCES_DIRS\=Resources
[        ]     export JAVA_JAR_FLAGS\=cv
[        ]     export JAVA_SOURCE_SUBDIR\=.
[        ]     export JAVA_USE_DEPENDENCIES\=YES
[        ]     export JAVA_ZIP_FLAGS\=-urg
[        ]     export JIKES_DEFAULT_FLAGS\=+E\ +OLDCSO
[        ]     export KASAN_CFLAGS_CLASSIC\=-DKASAN\=1\ -DKASAN_CLASSIC\=1\ -fsanitize\=address\ -mllvm\ -asan-globals-live-support\ -mllvm\ -asan-force-dynamic-shadow
[        ]     export KASAN_CFLAGS_TBI\=-DKASAN\=1\ -DKASAN_TBI\=1\ -fsanitize\=kernel-hwaddress\ -mllvm\ -hwasan-recover\=0\ -mllvm\ -hwasan-instrument-atomics\=0\ -mllvm\
-hwasan-instrument-stack\=1\ -mllvm\ -hwasan-uar-retag-to-zero\=1\ -mllvm\ -hwasan-generate-tags-with-calls\=1\ -mllvm\ -hwasan-instrument-with-calls\=1\ -mllvm\
-hwasan-use-short-granules\=0\ \ -mllvm\ -hwasan-memory-access-callback-prefix\=__asan_
[        ]     export KASAN_DEFAULT_CFLAGS\=-DKASAN\=1\ -DKASAN_CLASSIC\=1\ -fsanitize\=address\ -mllvm\ -asan-globals-live-support\ -mllvm\ -asan-force-dynamic-shadow
[        ]     export KEEP_PRIVATE_EXTERNS\=NO
[        ]     export
LD_DEPENDENCY_INFO_FILE\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/Objects-normal/undefined_arch/he
llo_flutter_dependency_info.dat
[        ]     export LD_GENERATE_MAP_FILE\=NO
[        ]     export
LD_MAP_FILE_PATH\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/hello_flutter-LinkMap-normal-undefined_
arch.txt
[        ]     export LD_NO_PIE\=NO
[        ]     export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER\=YES
[        ]     export LD_RUNPATH_SEARCH_PATHS\=\ @executable_path/../Frameworks
[        ]     export LD_RUNPATH_SEARCH_PATHS_YES\=@loader_path/../Frameworks
[        ]     export LEGACY_DEVELOPER_DIR\=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
[        ]     export LEX\=lex
[        ]     export LIBRARY_DEXT_INSTALL_PATH\=/Library/DriverExtensions
[        ]     export LIBRARY_FLAG_NOSPACE\=YES
[        ]     export LIBRARY_FLAG_PREFIX\=-l
[        ]     export LIBRARY_KEXT_INSTALL_PATH\=/Library/Extensions
[        ]     export LIBRARY_SEARCH_PATHS\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug\ 
[        ]     export LINKER_DISPLAYS_MANGLED_NAMES\=NO
[        ]     export
LINK_FILE_LIST_normal_x86_64\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/Objects-normal/x86_64/hello
_flutter.LinkFileList
[        ]     export LINK_OBJC_RUNTIME\=YES
[        ]     export LINK_WITH_STANDARD_LIBRARIES\=YES
[        ]     export LLVM_TARGET_TRIPLE_OS_VERSION\=macos10.11
[        ]     export LLVM_TARGET_TRIPLE_OS_VERSION_NO\=macos10.11
[        ]     export LLVM_TARGET_TRIPLE_OS_VERSION_YES\=macos13.0
[        ]     export LLVM_TARGET_TRIPLE_VENDOR\=apple
[        ]     export LOCALIZATION_EXPORT_SUPPORTED\=YES
[        ]     export LOCALIZED_RESOURCES_FOLDER_PATH\=hello_flutter.app/Contents/Resources/en.lproj
[        ]     export LOCALIZED_STRING_MACRO_NAMES\=NSLocalizedString\ CFCopyLocalizedString
[        ]     export LOCALIZED_STRING_SWIFTUI_SUPPORT\=YES
[        ]     export LOCAL_ADMIN_APPS_DIR\=/Applications/Utilities
[        ]     export LOCAL_APPS_DIR\=/Applications
[        ]     export LOCAL_DEVELOPER_DIR\=/Library/Developer
[        ]     export LOCAL_LIBRARY_DIR\=/Library
[        ]     export LOCROOT\=/Users/chuck/projects/flutter/hello_flutter/macos
[        ]     export LOCSYMROOT\=/Users/chuck/projects/flutter/hello_flutter/macos
[        ]     export MACH_O_TYPE\=mh_execute
[        ]     export MACOSX_DEPLOYMENT_TARGET\=10.11
[        ]     export MAC_OS_X_PRODUCT_BUILD_VERSION\=21G217
[        ]     export MAC_OS_X_VERSION_ACTUAL\=120601
[        ]     export MAC_OS_X_VERSION_MAJOR\=120000
[        ]     export MAC_OS_X_VERSION_MINOR\=120600
[        ]     export METAL_LIBRARY_FILE_BASE\=default
[        ]     export METAL_LIBRARY_OUTPUT_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/hello_flutter.app/Contents/Resources
[        ]     export MODULES_FOLDER_PATH\=hello_flutter.app/Contents/Modules
[        ]     export MODULE_CACHE_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/ModuleCache.noindex
[        ]     export MTL_ENABLE_DEBUG_INFO\=YES
[        ]     export NATIVE_ARCH\=x86_64
[        ]     export NATIVE_ARCH_32_BIT\=i386
[        ]     export NATIVE_ARCH_64_BIT\=x86_64
[        ]     export NATIVE_ARCH_ACTUAL\=x86_64
[        ]     export NO_COMMON\=YES
[        ]     export OBJECT_FILE_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/Objects
[        ]     export
OBJECT_FILE_DIR_normal\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/Objects-normal
[        ]     export OBJROOT\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex
[        ]     export ONLY_ACTIVE_ARCH\=YES
[        ]     export OS\=MACOS
[        ]     export OSAC\=/usr/bin/osacompile
[        ]     export PACKAGE_CONFIG\=/Users/chuck/projects/flutter/hello_flutter/.dart_tool/package_config.json
[        ]     export PACKAGE_TYPE\=com.apple.package-type.wrapper.application
[        ]     export PASCAL_STRINGS\=YES
[        ]     export
PATH\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/u
sr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/Xcode
Default.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.plat
form/usr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.pla
tform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Appl
ications/Xcode.app/Contents/Developer/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/chuck/flutter/bin
[        ]     export PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES\=/usr/include\ /usr/local/include\ /System/Library/Frameworks\ /System/Library/PrivateFrameworks\
/Applications/Xcode.app/Contents/Developer/Headers\ /Applications/Xcode.app/Contents/Developer/SDKs\ /Applications/Xcode.app/Contents/Developer/Platforms
[        ]     export PBDEVELOPMENTPLIST_PATH\=hello_flutter.app/Contents/pbdevelopment.plist
[        ]     export
PER_ARCH_OBJECT_FILE_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/Objects-normal/undefined_arch
[        ]     export
PER_VARIANT_OBJECT_FILE_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/Objects-normal
[        ]     export PKGINFO_FILE_PATH\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/PkgInfo
[        ]     export PKGINFO_PATH\=hello_flutter.app/Contents/PkgInfo
[        ]     export PLATFORM_DEVELOPER_APPLICATIONS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications
[        ]     export PLATFORM_DEVELOPER_BIN_DIR\=/Applications/Xcode.app/Contents/Developer/usr/bin
[        ]     export PLATFORM_DEVELOPER_LIBRARY_DIR\=/Applications/Xcode.app/Contents/Developer/Library
[        ]     export PLATFORM_DEVELOPER_SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
[        ]     export PLATFORM_DEVELOPER_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Tools
[        ]     export PLATFORM_DEVELOPER_USR_DIR\=/Applications/Xcode.app/Contents/Developer/usr
[        ]     export PLATFORM_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
[        ]     export PLATFORM_DISPLAY_NAME\=macOS
[        ]     export PLATFORM_FAMILY_NAME\=macOS
[        ]     export PLATFORM_NAME\=macosx
[        ]     export PLATFORM_PREFERRED_ARCH\=x86_64
[        ]     export PLATFORM_PRODUCT_BUILD_VERSION\=14B47b
[        ]     export PLIST_FILE_OUTPUT_FORMAT\=same-as-input
[        ]     export PLUGINS_FOLDER_PATH\=hello_flutter.app/Contents/PlugIns
[        ]     export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR\=YES
[        ]     export
PRECOMP_DESTINATION_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/PrefixHeaders
[        ]     export PRESERVE_DEAD_CODE_INITS_AND_TERMS\=NO
[        ]     export PRIVATE_HEADERS_FOLDER_PATH\=hello_flutter.app/Contents/PrivateHeaders
[        ]     export PRODUCT_BUNDLE_IDENTIFIER\=com.example.helloFlutter
[        ]     export PRODUCT_BUNDLE_PACKAGE_TYPE\=APPL
[        ]     export PRODUCT_COPYRIGHT\=Copyright\ ©\ 2022\ com.example.\ All\ rights\ reserved.
[        ]     export PRODUCT_MODULE_NAME\=hello_flutter
[        ]     export PRODUCT_NAME\=hello_flutter
[        ]     export PRODUCT_SETTINGS_PATH\=/Users/chuck/projects/flutter/hello_flutter/macos/Runner/Info.plist
[        ]     export PRODUCT_TYPE\=com.apple.product-type.application
[        ]     export PROFILING_CODE\=NO
[        ]     export PROJECT\=Runner
[        ]     export PROJECT_DERIVED_FILE_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/DerivedSources
[        ]     export PROJECT_DIR\=/Users/chuck/projects/flutter/hello_flutter/macos
[        ]     export PROJECT_FILE_PATH\=/Users/chuck/projects/flutter/hello_flutter/macos/Runner.xcodeproj
[        ]     export PROJECT_NAME\=Runner
[        ]     export PROJECT_TEMP_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build
[        ]     export PROJECT_TEMP_ROOT\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex
[        ]     export PROVISIONING_PROFILE_REQUIRED\=NO
[        ]     export PROVISIONING_PROFILE_REQUIRED_YES_YES\=YES
[        ]     export PROVISIONING_PROFILE_SUPPORTED\=YES
[        ]     export PUBLIC_HEADERS_FOLDER_PATH\=hello_flutter.app/Contents/Headers
[        ]     export RECOMMENDED_MACOSX_DEPLOYMENT_TARGET\=10.14.6
[        ]     export RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS\=YES
[        ]     export REMOVE_CVS_FROM_RESOURCES\=YES
[        ]     export REMOVE_GIT_FROM_RESOURCES\=YES
[        ]     export REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES\=YES
[        ]     export REMOVE_HG_FROM_RESOURCES\=YES
[        ]     export REMOVE_SVN_FROM_RESOURCES\=YES
[        ]     export
REZ_COLLECTOR_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/ResourceManagerResources
[        ]     export
REZ_OBJECTS_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/ResourceManagerResources/Objects
[        ]     export REZ_SEARCH_PATHS\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug\ 
[        ]     export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES\=NO
[        ]     export SCRIPTS_FOLDER_PATH\=hello_flutter.app/Contents/Resources/Scripts
[        ]     export SCRIPT_INPUT_FILE_COUNT\=0
[        ]     export SCRIPT_INPUT_FILE_LIST_COUNT\=0
[        ]     export SCRIPT_OUTPUT_FILE_COUNT\=0
[        ]     export SCRIPT_OUTPUT_FILE_LIST_COUNT\=0
[        ]     export SDKROOT\=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk
[        ]     export SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk
[        ]     export SDK_DIR_macosx\=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk
[        ]     export SDK_DIR_macosx13_0\=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk
[        ]     export SDK_NAME\=macosx13.0
[        ]     export SDK_NAMES\=macosx13.0
[        ]     export SDK_PRODUCT_BUILD_VERSION\=22A372
[        ]     export SDK_VERSION\=13.0
[        ]     export SDK_VERSION_ACTUAL\=130000
[        ]     export SDK_VERSION_MAJOR\=130000
[        ]     export SDK_VERSION_MINOR\=130000
[        ]     export SED\=/usr/bin/sed
[        ]     export SEPARATE_STRIP\=NO
[        ]     export SEPARATE_SYMBOL_EDIT\=NO
[        ]     export SET_DIR_MODE_OWNER_GROUP\=YES
[        ]     export SET_FILE_MODE_OWNER_GROUP\=NO
[        ]     export SHALLOW_BUNDLE\=NO
[        ]     export SHALLOW_BUNDLE_PLATFORM\=NO
[        ]     export SHALLOW_BUNDLE_TRIPLE\=macos
[        ]     export SHALLOW_BUNDLE_ios_macabi\=NO
[        ]     export SHALLOW_BUNDLE_macos\=NO
[        ]     export SHARED_DERIVED_FILE_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/DerivedSources
[        ]     export SHARED_FRAMEWORKS_FOLDER_PATH\=hello_flutter.app/Contents/SharedFrameworks
[        ]     export SHARED_PRECOMPS_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/PrecompiledHeaders
[        ]     export SHARED_SUPPORT_FOLDER_PATH\=hello_flutter.app/Contents/SharedSupport
[        ]     export SKIP_INSTALL\=NO
[        ]     export SOURCE_ROOT\=/Users/chuck/projects/flutter/hello_flutter/macos
[        ]     export SRCROOT\=/Users/chuck/projects/flutter/hello_flutter/macos
[        ]     export
STRINGSDATA_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/Objects-normal/undefined_arch
[        ]     export STRINGSDATA_ROOT\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build
[        ]     export STRINGS_FILE_INFOPLIST_RENAME\=YES
[        ]     export STRINGS_FILE_OUTPUT_ENCODING\=UTF-16
[        ]     export STRIP_BITCODE_FROM_COPIED_FILES\=NO
[        ]     export STRIP_INSTALLED_PRODUCT\=NO
[        ]     export STRIP_PNG_TEXT\=NO
[        ]     export STRIP_STYLE\=all
[        ]     export STRIP_SWIFT_SYMBOLS\=YES
[        ]     export SUPPORTED_PLATFORMS\=macosx
[        ]     export SUPPORTS_MACCATALYST\=NO
[        ]     export SUPPORTS_ON_DEMAND_RESOURCES\=NO
[        ]     export SUPPORTS_TEXT_BASED_API\=NO
[        ]     export SWIFT_ACTIVE_COMPILATION_CONDITIONS\=DEBUG
[        ]     export SWIFT_EMIT_LOC_STRINGS\=NO
[        ]     export SWIFT_OPTIMIZATION_LEVEL\=-Onone
[        ]     export SWIFT_PLATFORM_TARGET_PREFIX\=macos
[        ]     export
SWIFT_RESPONSE_FILE_PATH_normal_x86_64\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/Objects-normal/x8
6_64/hello_flutter.SwiftFileList
[        ]     export SWIFT_VERSION\=5.0
[        ]     export SYMROOT\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products
[        ]     export SYSTEM_ADMIN_APPS_DIR\=/Applications/Utilities
[        ]     export SYSTEM_APPS_DIR\=/Applications
[        ]     export SYSTEM_CORE_SERVICES_DIR\=/System/Library/CoreServices
[        ]     export SYSTEM_DEMOS_DIR\=/Applications/Extras
[        ]     export SYSTEM_DEVELOPER_APPS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications
[        ]     export SYSTEM_DEVELOPER_BIN_DIR\=/Applications/Xcode.app/Contents/Developer/usr/bin
[        ]     export SYSTEM_DEVELOPER_DEMOS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built\ Examples
[        ]     export SYSTEM_DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer
[        ]     export SYSTEM_DEVELOPER_DOC_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library
[        ]     export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Graphics\ Tools
[        ]     export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Java\ Tools
[        ]     export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Performance\ Tools
[        ]     export SYSTEM_DEVELOPER_RELEASENOTES_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library/releasenotes
[        ]     export SYSTEM_DEVELOPER_TOOLS\=/Applications/Xcode.app/Contents/Developer/Tools
[        ]     export SYSTEM_DEVELOPER_TOOLS_DOC_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library/documentation/DeveloperTools
[        ]     export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library/releasenotes/DeveloperTools
[        ]     export SYSTEM_DEVELOPER_USR_DIR\=/Applications/Xcode.app/Contents/Developer/usr
[        ]     export SYSTEM_DEVELOPER_UTILITIES_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Utilities
[        ]     export SYSTEM_DEXT_INSTALL_PATH\=/System/Library/DriverExtensions
[        ]     export SYSTEM_DOCUMENTATION_DIR\=/Library/Documentation
[        ]     export SYSTEM_EXTENSIONS_FOLDER_PATH\=hello_flutter.app/Contents/Library/SystemExtensions
[        ]     export SYSTEM_EXTENSIONS_FOLDER_PATH_SHALLOW_BUNDLE_NO\=hello_flutter.app/Contents/Library/SystemExtensions
[        ]     export SYSTEM_EXTENSIONS_FOLDER_PATH_SHALLOW_BUNDLE_YES\=hello_flutter.app/Contents/SystemExtensions
[        ]     export SYSTEM_KEXT_INSTALL_PATH\=/System/Library/Extensions
[        ]     export SYSTEM_LIBRARY_DIR\=/System/Library
[        ]     export TAPI_ENABLE_PROJECT_HEADERS\=NO
[        ]     export TAPI_VERIFY_MODE\=ErrorsOnly
[        ]     export TARGETNAME\=Runner
[        ]     export TARGET_BUILD_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug
[        ]     export TARGET_NAME\=Runner
[        ]     export TARGET_TEMP_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build
[        ]     export TEMP_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build
[        ]     export TEMP_FILES_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build
[        ]     export TEMP_FILE_DIR\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build
[        ]     export TEMP_ROOT\=/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex
[        ]     export TEST_FRAMEWORK_SEARCH_PATHS\=\ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks
[        ]     export TEST_LIBRARY_SEARCH_PATHS\=\ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib
[        ]     export TOOLCHAINS\=com.apple.dt.toolchain.XcodeDefault
[        ]     export TOOLCHAIN_DIR\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
[        ]     export TRACK_WIDGET_CREATION\=true
[        ]     export TREAT_MISSING_BASELINES_AS_TEST_FAILURES\=NO
[        ]     export TREE_SHAKE_ICONS\=false
[        ]     export UID\=501
[        ]     export UNLOCALIZED_RESOURCES_FOLDER_PATH\=hello_flutter.app/Contents/Resources
[        ]     export UNLOCALIZED_RESOURCES_FOLDER_PATH_SHALLOW_BUNDLE_NO\=hello_flutter.app/Contents/Resources
[        ]     export UNLOCALIZED_RESOURCES_FOLDER_PATH_SHALLOW_BUNDLE_YES\=hello_flutter.app/Contents
[        ]     export UNSTRIPPED_PRODUCT\=NO
[        ]     export USER\=chuck
[        ]     export USER_APPS_DIR\=/Users/chuck/Applications
[        ]     export USER_LIBRARY_DIR\=/Users/chuck/Library
[        ]     export USE_DYNAMIC_NO_PIC\=YES
[        ]     export USE_HEADERMAP\=YES
[        ]     export USE_HEADER_SYMLINKS\=NO
[        ]     export USE_LLVM_TARGET_TRIPLES\=YES
[        ]     export USE_LLVM_TARGET_TRIPLES_FOR_CLANG\=YES
[        ]     export USE_LLVM_TARGET_TRIPLES_FOR_LD\=YES
[        ]     export USE_LLVM_TARGET_TRIPLES_FOR_TAPI\=YES
[        ]     export VALIDATE_DEVELOPMENT_ASSET_PATHS\=YES_ERROR
[        ]     export VALIDATE_PRODUCT\=NO
[        ]     export VALID_ARCHS\=arm64\ arm64e\ i386\ x86_64
[        ]     export VERBOSE_PBXCP\=NO
[        ]     export VERBOSE_SCRIPT_LOGGING\=YES
[        ]     export VERSIONPLIST_PATH\=hello_flutter.app/Contents/version.plist
[        ]     export VERSION_INFO_BUILDER\=chuck
[        ]     export VERSION_INFO_FILE\=hello_flutter_vers.c
[        ]     export VERSION_INFO_STRING\=\"@\(\#\)PROGRAM:hello_flutter\ \ PROJECT:Runner-\"
[        ]     export WARNING_CFLAGS\=-Wall\ -Wconditional-uninitialized\ -Wnullable-to-nonnull-conversion\ -Wmissing-method-return-type\ -Woverlength-strings
[        ]     export WRAPPER_EXTENSION\=app
[        ]     export WRAPPER_NAME\=hello_flutter.app
[        ]     export WRAPPER_SUFFIX\=.app
[        ]     export WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES\=NO
[        ]     export XCODE_APP_SUPPORT_DIR\=/Applications/Xcode.app/Contents/Developer/Library/Xcode
[        ]     export XCODE_PRODUCT_BUILD_VERSION\=14B47b
[        ]     export XCODE_VERSION_ACTUAL\=1410
[        ]     export XCODE_VERSION_MAJOR\=1400
[        ]     export XCODE_VERSION_MINOR\=1410
[        ]     export XPCSERVICES_FOLDER_PATH\=hello_flutter.app/Contents/XPCServices
[        ]     export YACC\=yacc
[        ]     export _BOOL_\=NO
[        ]     export _BOOL_NO\=NO
[        ]     export _BOOL_YES\=YES
[        ]     export _DEVELOPMENT_TEAM_IS_EMPTY\=YES
[        ]     export _IS_EMPTY_\=YES
[        ]     export _MACOSX_DEPLOYMENT_TARGET_IS_EMPTY\=NO
[        ]     export _WRAPPER_CONTENTS_DIR\=/Contents
[        ]     export _WRAPPER_CONTENTS_DIR_SHALLOW_BUNDLE_NO\=/Contents
[        ]     export _WRAPPER_PARENT_PATH\=/..
[        ]     export _WRAPPER_PARENT_PATH_SHALLOW_BUNDLE_NO\=/..
[        ]     export _WRAPPER_RESOURCES_DIR\=/Resources
[        ]     export _WRAPPER_RESOURCES_DIR_SHALLOW_BUNDLE_NO\=/Resources
[        ]     export __IS_NOT_MACOS\=NO
[        ]     export __IS_NOT_MACOS_macosx\=NO
[        ]     export __IS_NOT_SIMULATOR\=YES
[        ]     export __IS_NOT_SIMULATOR_simulator\=NO
[        ]     export arch\=undefined_arch
[        ]     export variant\=normal
[        ]     /bin/sh -c
/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/Script-3399D490228B24CF009A79C7.sh
[   +1 ms] ♦ mkdir -p -- /Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/hello_flutter.app/Contents/Frameworks
[        ] ♦ rsync -av --delete --filter - .DS_Store /Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/App.framework
/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/hello_flutter.app/Contents/Frameworks
[        ] building file list ... done
[        ] deleting App.framework/Versions/A/_CodeSignature/CodeResources
[        ] deleting App.framework/Versions/A/_CodeSignature/
[        ] App.framework/Versions/A/
[        ] App.framework/Versions/A/App
[        ] App.framework/Versions/A/Resources/Info.plist
[        ] App.framework/Versions/A/Resources/flutter_assets/AssetManifest.json
[        ] App.framework/Versions/A/Resources/flutter_assets/FontManifest.json
[        ] App.framework/Versions/A/Resources/flutter_assets/NOTICES.Z
[   +1 ms] App.framework/Versions/A/Resources/flutter_assets/kernel_blob.bin
[ +127 ms] App.framework/Versions/A/Resources/flutter_assets/shaders/
[        ] App.framework/Versions/A/Resources/flutter_assets/shaders/ink_sparkle.frag
[   +1 ms] sent 31156661 bytes  received 186 bytes  62313694.00 bytes/sec
[        ] total size is 38131923  speedup is 1.22
[        ] ♦ rsync -av --delete --filter - .DS_Store --filter - Headers --filter - Modules
/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/FlutterMacOS.framework
/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/hello_flutter.app/Contents/Frameworks/
[   +5 ms] building file list ... done
[   +2 ms] FlutterMacOS.framework/Versions/A/
[        ] FlutterMacOS.framework/Versions/A/FlutterMacOS
[ +193 ms] FlutterMacOS.framework/Versions/A/_CodeSignature/CodeResources
[   +1 ms] sent 44696600 bytes  received 70 bytes  89393340.00 bytes/sec
[        ] total size is 45506871  speedup is 1.02
[        ] ♦ codesign --force --verbose --sign - --
/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/hello_flutter.app/Contents/Frameworks/App.framework/App
[ +485 ms] /Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/hello_flutter.app/Contents/Frameworks/App.framework/App: signed bundle with Mach-O
thin (x86_64) [io.flutter.flutter.app]
[   +6 ms] ♦ codesign --force --verbose --sign - --
/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/hello_flutter.app/Contents/Frameworks/FlutterMacOS.framework/FlutterMacOS
[  +36 ms] /Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/hello_flutter.app/Contents/Frameworks/FlutterMacOS.framework/FlutterMacOS: replacing
existing signature
[ +521 ms] /Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/hello_flutter.app/Contents/Frameworks/FlutterMacOS.framework/FlutterMacOS: signed
bundle with Mach-O universal (x86_64) [io.flutter.flutter-macos]
[  +11 ms] ExtractAppIntentsMetadata (in target 'Runner' from project 'Runner')
[        ]     cd /Users/chuck/projects/flutter/hello_flutter/macos
[        ]     /Applications/Xcode.app/Contents/Developer/usr/bin/appintentsmetadataprocessor --output
/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/hello_flutter.app/Contents/Resources --toolchain-dir
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --module-name hello_flutter --source-files
/Users/chuck/projects/flutter/hello_flutter/macos/Runner/MainFlutterWindow.swift /Users/chuck/projects/flutter/hello_flutter/macos/Runner/AppDelegate.swift
/Users/chuck/projects/flutter/hello_flutter/macos/Flutter/GeneratedPluginRegistrant.swift --sdk-root
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk --target-triple x86_64-apple-macos10.11 --binary-file
/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/hello_flutter.app/Contents/MacOS/hello_flutter --dependency-file
/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/Objects-normal/x86_64/hello_flutter_dependency_info.dat
--stringsdata-file
/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/Objects-normal/x86_64/ExtractedAppShortcutsMetadata.strin
gsdata
[   +2 ms] note: Metadata extraction skipped. No AppIntents.framework dependency found. (in target 'Runner' from project 'Runner')
[        ] CodeSign /Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/hello_flutter.app (in target 'Runner' from project 'Runner')
[        ]     cd /Users/chuck/projects/flutter/hello_flutter/macos
[        ]     Signing Identity:     "-"
[        ]     /usr/bin/codesign --force --sign - --entitlements
/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/hello_flutter.app.xcent --timestamp\=none
--generate-entitlement-der /Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/hello_flutter.app
[   +7 ms] /Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/hello_flutter.app: replacing existing signature
[  +46 ms] Validate /Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/hello_flutter.app (in target 'Runner' from project 'Runner')
[        ]     cd /Users/chuck/projects/flutter/hello_flutter/macos
[        ]     builtin-validationUtility /Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/hello_flutter.app -no-validate-extension
[        ] RegisterWithLaunchServices /Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/hello_flutter.app (in target 'Runner' from project
'Runner')
[        ]     cd /Users/chuck/projects/flutter/hello_flutter/macos
[        ]     /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/LaunchServices.framework/Versions/Current/Support/lsregister -f -R -trusted
/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/hello_flutter.app
[  +68 ms] ** BUILD SUCCEEDED **
[  +24 ms] Building macOS application... (completed in 9.0s)
[   +3 ms] executing: /usr/bin/plutil -convert xml1 -o - /Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/hello_flutter.app/Contents/Info.plist
[  +10 ms] Exit code 0 from: /usr/bin/plutil -convert xml1 -o -
/Users/chuck/projects/flutter/hello_flutter/build/macos/Build/Products/Debug/hello_flutter.app/Contents/Info.plist
[   +1 ms] <?xml version="1.0" encoding="UTF-8"?>
           <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
           <plist version="1.0">
           <dict>
           	<key>BuildMachineOSBuild</key>
           	<string>21G217</string>
           	<key>CFBundleDevelopmentRegion</key>
           	<string>en</string>
           	<key>CFBundleExecutable</key>
           	<string>hello_flutter</string>
           	<key>CFBundleIconFile</key>
           	<string>AppIcon</string>
           	<key>CFBundleIconName</key>
           	<string>AppIcon</string>
           	<key>CFBundleIdentifier</key>
           	<string>com.example.helloFlutter</string>
           	<key>CFBundleInfoDictionaryVersion</key>
           	<string>6.0</string>
           	<key>CFBundleName</key>
           	<string>hello_flutter</string>
           	<key>CFBundlePackageType</key>
           	<string>APPL</string>
           	<key>CFBundleShortVersionString</key>
           	<string>1.0.0</string>
           	<key>CFBundleSupportedPlatforms</key>
           	<array>
           		<string>MacOSX</string>
           	</array>
           	<key>CFBundleVersion</key>
           	<string>1</string>
           	<key>DTCompiler</key>
           	<string>com.apple.compilers.llvm.clang.1_0</string>
           	<key>DTPlatformBuild</key>
           	<string>14B47b</string>
           	<key>DTPlatformName</key>
           	<string>macosx</string>
           	<key>DTPlatformVersion</key>
           	<string>13.0</string>
           	<key>DTSDKBuild</key>
           	<string>22A372</string>
           	<key>DTSDKName</key>
           	<string>macosx13.0</string>
           	<key>DTXcode</key>
           	<string>1410</string>
           	<key>DTXcodeBuild</key>
           	<string>14B47b</string>
           	<key>LSMinimumSystemVersion</key>
           	<string>10.11</string>
           	<key>NSHumanReadableCopyright</key>
           	<string>Copyright © 2022 com.example. All rights reserved.</string>
           	<key>NSMainNibFile</key>
           	<string>MainMenu</string>
           	<key>NSPrincipalClass</key>
           	<string>NSApplication</string>
           </dict>
           </plist>
[+1043 ms] Observatory URL on device: http://127.0.0.1:62665/RbaTqtpEGhk=/
[   +5 ms] Caching compiled dill
[  +36 ms] Connecting to service protocol: http://127.0.0.1:62665/RbaTqtpEGhk=/
[ +271 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:62665/RbaTqtpEGhk=/.
[ +499 ms] DDS is listening at http://127.0.0.1:62668/mFGYtHTG0_Y=/.
[  +62 ms] Successfully connected to service protocol: http://127.0.0.1:62665/RbaTqtpEGhk=/
[  +26 ms] DevFS: Creating new filesystem on the device (null)
[  +33 ms] DevFS: Created new filesystem on the device (file:///var/folders/td/_n758tgj4sl238sbj7nz0zt00000gn/T/com.example.helloFlutter/hello_flutter4oUq8l/hello_flutter/)
[   +2 ms] Updating assets
[ +117 ms] Syncing files to device macOS...
[   +1 ms] Compiling dart to kernel with 0 updated files
[        ] Processing bundle.
[   +1 ms] <- recompile package:hello_flutter/main.dart d5509340-09ca-446c-b1fa-a8aed4791c9c
[        ] <- d5509340-09ca-446c-b1fa-a8aed4791c9c
[   +3 ms] Bundle processing done.
[  +83 ms] Updating files.
[        ] DevFS: Sync finished
[   +1 ms] Syncing files to device macOS... (completed in 91ms)
[        ] Synced 0.0MB.
[   +1 ms] <- accept
[   +2 ms] Connected to _flutterView/0x7fa7838abc20.
[   +3 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 💪
[        ] An Observatory debugger and profiler on macOS is available at: http://127.0.0.1:62668/mFGYtHTG0_Y=/
[ +566 ms] The Flutter DevTools debugger and profiler on macOS is available at: http://127.0.0.1:9101?uri=http://127.0.0.1:62668/mFGYtHTG0_Y=/
hello_flutter$ flutter analyze
Analyzing hello_flutter...                                              

   info • Prefer const with constant constructors • lib/main.dart:158:49 • prefer_const_constructors
   info • Prefer const with constant constructors • lib/main.dart:167:29 • prefer_const_constructors
   info • Prefer const with constant constructors • lib/main.dart:177:19 • prefer_const_constructors
   info • Prefer const with constant constructors • lib/main.dart:179:19 • prefer_const_constructors
   info • Prefer const with constant constructors • lib/main.dart:201:22 • prefer_const_constructors

5 issues found. (ran in 3.4s)
hello_flutter$ flutter doctor -v
[✓] Flutter (Channel stable, 3.3.8, on macOS 12.6.1 21G217 darwin-x64, locale en)
    • Flutter version 3.3.8 on channel stable at /Users/chuck/flutter
    • Upstream repository git@github.com:flutter/flutter.git
    • Framework revision 52b3dc25f6 (3 weeks ago), 2022-11-09 12:09:26 +0800
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • DevTools version 2.15.0

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.


[✓] 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 (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

[✓] 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)
    • Charles’s iPhone (mobile) • 00008110-001664DA2663801E • ios            • iOS 15.7.1 19H117
    • macOS (desktop)           • macos                     • darwin-x64     • macOS 12.6.1 21G217 darwin-x64
    • Chrome (web)              • chrome                    • web-javascript • Google Chrome 107.0.5304.121

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

! Doctor found issues in 2 categories.
@cbatson
Copy link
Author

cbatson commented Nov 29, 2022

I find that I observe the expected behavior when pre-multiplying the color components of the image by the alpha channel. It is quite possible that this is a (undocumented?) requirement of decodeImageFromPixels().

If this is indeed the case, then I humbly suggest the following two resolutions:

  1. Update the documentation of decodeImageFromPixels to explicitly state that alpha must be pre-multiplied.
  2. Even better, update the names of the PixelFormat enum values to unambiguously reflect this; for example, rgba8888_premultiplied and bgra8888_premultiplied.

Thank you.

@cbatson cbatson changed the title Surprising behavior of srcOver BlendMode on image with alpha channel Surprising behavior of srcOver BlendMode on image with alpha channel from decodeImageFromPixels() Nov 29, 2022
@danagbemava-nc danagbemava-nc added the in triage Presently being triaged by the triage team label Nov 30, 2022
@danagbemava-nc
Copy link
Member

Reproducible using the sample provided above.

Labeling for further insight from the team.

Screenshot 2022-11-30 at 09 39 01

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 (4 available)
    • M2007J20CG (mobile)    • 5dd3be00                             • android-arm64  • Android 12 (API 31)
    • 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-12.0.pre.20, on macOS 13.0.1 22A400 darwin-arm64, locale en-GB)
    • Flutter version 3.6.0-12.0.pre.20 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 02de12947a (6 hours ago), 2022-11-29 22:57:31 -0500
    • Engine revision d5690468da
    • Dart version 2.19.0 (build 2.19.0-443.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 (4 available)
    • M2007J20CG (mobile)    • 5dd3be00                             • android-arm64  • Android 12 (API 31)
    • 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.

@danagbemava-nc danagbemava-nc added framework flutter/packages/flutter repository. See also f: labels. has reproducible steps The issue has been confirmed reproducible and is ready to work on found in release: 3.3 Found to occur in 3.3 found in release: 3.6 Found to occur in 3.6 and removed in triage Presently being triaged by the triage team labels Nov 30, 2022
@ColdPaleLight ColdPaleLight added engine flutter/engine repository. See also e: labels. a: images Loading, displaying, rendering images and removed framework flutter/packages/flutter repository. See also f: labels. labels Dec 1, 2022
@chinmaygarde
Copy link
Member

At the minimum, we should document the alpha pre-multiplication behavior.

@chinmaygarde chinmaygarde added easy fix P2 Important issues not at the top of the work list labels Dec 5, 2022
@flutter-triage-bot flutter-triage-bot bot added the d: api docs Issues with https://api.flutter.dev/ label Jul 5, 2023
@flutter-triage-bot flutter-triage-bot bot added team-engine Owned by Engine team triaged-engine Triaged by Engine team labels Jul 8, 2023
@Hixie Hixie removed the easy fix label Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a: images Loading, displaying, rendering images d: api docs Issues with https://api.flutter.dev/ engine flutter/engine repository. See also e: labels. found in release: 3.3 Found to occur in 3.3 found in release: 3.6 Found to occur in 3.6 has reproducible steps The issue has been confirmed reproducible and is ready to work on P2 Important issues not at the top of the work list team-engine Owned by Engine team triaged-engine Triaged by Engine team
Projects
None yet
Development

No branches or pull requests

5 participants