I clone the repo and execute the commands as listed in the example README.me. I tried both with main and first checking out 2.0.1. Both result in the same error. Please advise.
flutter run -d macos
Launching lib/main.dart on macOS in debug mode...
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:00006001-001229DE3EF8801E, name:My Mac }
{ platform:macOS, arch:x86_64, id:00006001-001229DE3EF8801E, name:My Mac }
../../../../.pub-cache/hosted/pub.dev/adwaita-1.0.0/lib/src/theme.dart:14:5: Error: No named parameter with the name 'primaryColorDark'.
primaryColorDark: AdwaitaColors.darkBackgroundColor,
^^^^^^^^^^^^^^^^
../../../../apps/flutter/packages/flutter/lib/src/material/color_scheme.dart:960:11: Context: Found this candidate, but the arguments don't match.
factory ColorScheme.fromSwatch({
^^^^^^^^^^
../../../../.pub-cache/hosted/pub.dev/adwaita-1.0.0/lib/src/theme.dart:25:5: Error: No named parameter with the name 'primaryColorDark'.
primaryColorDark: AdwaitaColors.darkBackgroundColor,
^^^^^^^^^^^^^^^^
../../../../apps/flutter/packages/flutter/lib/src/material/color_scheme.dart:960:11: Context: Found this candidate, but the arguments don't match.
factory ColorScheme.fromSwatch({
^^^^^^^^^^
Target kernel_snapshot failed: Exception
Command PhaseScriptExecution failed with a nonzero exit code
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Flutter Assemble' from project 'Runner')
** BUILD FAILED **
Building macOS application...
Error: Build process failed
What I did:
I clone the repo and execute the commands as listed in the
example
README.me. I tried both withmain
and first checking out2.0.1
. Both result in the same error. Please advise.OS: macOS 14.5 Hw: MacBook Pro (M1 Max, 32 GB RAM) Environment:
When running
flutter run -d macos
: