Open SkyLissh opened 1 year ago
Yes, @SkyLissh. I am facing the same issue when trying to build for Android :(
../../../../../.pub-cache/hosted/pub.dev/adwaita-1.0.1/lib/src/theme.dart:14:5: Error: No named parameter with the name 'primaryColorDark'. primaryColorDark: AdwaitaColors.darkBackgroundColor, ^^^^^^^^^^^^^^^^ ../../../../../flutter/packages/flutter/lib/src/material/color_scheme.dart:462:11: Context: Found this candidate, but the arguments don't match. factory ColorScheme.fromSwatch({ ^^^^^^^^^^ ../../../../../.pub-cache/hosted/pub.dev/adwaita-1.0.1/lib/src/theme.dart:25:5: Error: No named parameter with the name 'primaryColorDark'. primaryColorDark: AdwaitaColors.darkBackgroundColor, ^^^^^^^^^^^^^^^^ ../../../../../flutter/packages/flutter/lib/src/material/color_scheme.dart:462:11: Context: Found this candidate, but the arguments don't match. factory ColorScheme.fromSwatch({ ^^^^^^^^^^ Target kernel_snapshot failed: Exception
@prateekmedia . Can you please fix this?
@syedarsalankazmi For now you can add the adwaita dependency from git in your pubspec.yaml
in this way:
The package in pub.dev is broken due to failed static analysis, but I saw that the master branch is working properly, Why this branch isn't deployed to pub.dev?