Skip to content

error G4127D1E8: The getter 'a' isn't defined for the class 'Color'. #552

@jhyjhy-cn

Description

@jhyjhy-cn

Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source! Launching lib\main.dart on Windows in debug mode... Building Windows application... Nuget.exe not found, trying to download or use cached version. /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/window_manager-0.5.0/lib/src/window_manager.dart(331,44): error G4127D1E8: The getter 'a' isn't defined for the class 'Color'. [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/window_manager-0.5.0/lib/src/window_manager.dart(332,44): error G4127D1E8: The getter 'r' isn't defined for the class 'Color'. [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/window_manager-0.5.0/lib/src/window_manager.dart(333,44): error G4127D1E8: The getter 'g' isn't defined for the class 'Color'. [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/window_manager-0.5.0/lib/src/window_manager.dart(334,44): error G4127D1E8: The getter 'b' isn't defined for the class 'Color'. [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/window_manager-0.5.0/lib/src/widgets/window_caption_button.dart(317,44): error GE5CFE876: The method 'withValues' isn't defined for the class 'Color'. [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/window_manager-0.5.0/lib/src/widgets/window_caption_button.dart(320,32): error GE5CFE876: The method 'withValues' isn't defined for the class 'Color'. [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/window_manager-0.5.0/lib/src/widgets/window_caption_button.dart(322,33): error GE5CFE876: The method 'withValues' isn't defined for the class 'Color'. [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/window_manager-0.5.0/lib/src/widgets/window_caption_button.dart(323,34): error GE5CFE876: The method 'withValues' isn't defined for the class 'Color'. [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/window_manager-0.5.0/lib/src/widgets/window_caption_button.dart(328,44): error GE5CFE876: The method 'withValues' isn't defined for the class 'Color'. [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/window_manager-0.5.0/lib/src/widgets/window_caption_button.dart(333,33): error GE5CFE876: The method 'withValues' isn't defined for the class 'Color'. [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/window_manager-0.5.0/lib/src/widgets/window_caption_button.dart(334,34): error GE5CFE876: The method 'withValues' isn't defined for the class 'Color'. [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/window_manager-0.5.0/lib/src/widgets/window_caption_button.dart(344,27): error GE5CFE876: The method 'withValues' isn't defined for the class 'Color'. [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/window_manager-0.5.0/lib/src/widgets/window_caption_button.dart(345,27): error GE5CFE876: The method 'withValues' isn't defined for the class 'Color'. [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/window_manager-0.5.0/lib/src/widgets/window_caption_button.dart(348,26): error GE5CFE876: The method 'withValues' isn't defined for the class 'Color'. [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/window_manager-0.5.0/lib/src/widgets/window_caption_button.dart(349,27): error GE5CFE876: The method 'withValues' isn't defined for the class 'Color'. [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/window_manager-0.5.0/lib/src/widgets/window_caption_button.dart(350,27): error GE5CFE876: The method 'withValues' isn't defined for the class 'Color'. [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/window_manager-0.5.0/lib/src/widgets/window_caption_button.dart(351,28): error GE5CFE876: The method 'withValues' isn't defined for the class 'Color'. [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/window_manager-0.5.0/lib/src/widgets/window_caption_button.dart(355,27): error GE5CFE876: The method 'withValues' isn't defined for the class 'Color'. [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/window_manager-0.5.0/lib/src/widgets/window_caption_button.dart(356,27): error GE5CFE876: The method 'withValues' isn't defined for the class 'Color'. [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/window_manager-0.5.0/lib/src/widgets/window_caption_button.dart(361,27): error GE5CFE876: The method 'withValues' isn't defined for the class 'Color'. [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/window_manager-0.5.0/lib/src/widgets/window_caption_button.dart(362,28): error GE5CFE876: The method 'withValues' isn't defined for the class 'Color'. [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/window_manager-0.5.0/lib/src/widgets/window_caption.dart(77,46): error GE5CFE876: The method 'withValues' isn't defined for the class 'Color'. [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/window_manager-0.5.0/lib/src/widgets/virtual_window_frame.dart(58,35): error GE5CFE876: The method 'withValues' isn't defined for the class 'Color'. [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] E:\IDEA\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: “E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\CMakeFiles\d37cecc6b58f5b52604d7dbd0c73c1f5\flutter_windows.dll.rule;E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\CMakeFiles\645360229d6b4aceb0a97602b8e0635b\flutter_assemble.rule”的自定义生成已退出,代码为 1。 [E:\CoreCode\private\jhyjhy-cn\im_flutter\build\windows\x64\flutter\flutter_assemble.vcxproj] Error: Build process failed.
C:\Users\Administrator>flutter --version
Flutter 3.22.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 5dcb86f68f (1 year, 1 month ago) • 2024-05-09 07:39:20 -0500
Engine • revision f6344b75dc
Tools • Dart 3.4.0 • DevTools 2.34.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions