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

Pub package is broken #18

Open
SkyLissh opened this issue Sep 10, 2023 · 2 comments
Open

Pub package is broken #18

SkyLissh opened this issue Sep 10, 2023 · 2 comments

Comments

@SkyLissh
Copy link

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?

image

@syedarsalankazmi
Copy link

syedarsalankazmi commented Oct 3, 2023

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?

@SkyLissh
Copy link
Author

SkyLissh commented Oct 4, 2023

@syedarsalankazmi For now you can add the adwaita dependency from git in your pubspec.yaml

in this way:
Screenshot_20231004_095756

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants