adwaita icon indicating copy to clipboard operation
adwaita copied to clipboard

Pub package is broken

Open SkyLissh opened this issue 2 years ago • 2 comments

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

SkyLissh avatar Sep 10 '23 23:09 SkyLissh

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 avatar Oct 03 '23 20:10 syedarsalankazmi

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

in this way: Screenshot_20231004_095756

SkyLissh avatar Oct 04 '23 16:10 SkyLissh