-
Notifications
You must be signed in to change notification settings - Fork 803
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
syncfusion_flutter_gauges-28.1.37 Error: The method 'withValues' isn't defined for the class 'Color'. #2238
Comments
Facing the same error for pdfViewer package in web. |
try "flutter upgrade" |
Experiencing the same issue and can't yet upgrade to flutter 3.27. |
What's the to upgrade? Upgrade might need to upgrade other dependencies also and also might require to make changes in code. I don't think it's a good solution. The error to seems related to some missing configurations for web platform. |
I encountered the same issue, but after upgrading to the latest version of Flutter [3.27.1], the problem was resolved. |
This issue appears to be caused by the latest version of Flutter. If you prefer not to update Flutter, consider using an older version of the package, as it might resolve the problem. |
Have you tried it? Can you please mention which version of flutter and syncfusion is working together? Please check with the most recent version as much as possible. Right now I am using version 3.24 of Flutter. |
upgrading flutter to 3.27.1 did not fix the issue for me. downgrading to PDF viewer 26.2.14 did. |
Bug description
Could not build the precompiled application for the device.
Error (Xcode): ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_calendar-28.1.37/lib/src/calendar/sfcalendar.dart:3882:44: Error: The
method 'withValues' isn't defined for the class 'Color'.
Steps to reproduce
syncfusion_flutter_gauges: ^28.1.37
syncfusion_flutter_calendar: ^28.1.37
syncfusion_flutter_datepicker: ^28.1.37
Code sample
Code sample
[Add your code here]
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Stack Traces
Stack Traces
On which target platforms have you observed this bug?
iOS
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: