You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the latest version of the fl_chart library "fl_chart: ^0.69.0" in my project, but when adding it, I get the warning below because of the "equatable: ^2.0.5" library in it.
Resolving dependencies...
Because no versions of equatable match 2.0.5 and no versions of equatable match >2.0.5 <3.0.0, equatable ^2.0.5 is forbidden.
So, because barsoft_management depends on fl_chart ^0.69.0 which depends on equatable ^2.0.5, version solving failed.
You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on fl_chart: flutter pub add fl_chart:^0.55.2
exit code 1
According to the warning, I update the version and add "fl_chart: ^0.55.2". There is no problem while adding it, but when I run the project, I get the error below.
***/AppData/Local/Pub/Cache/hosted/pub.dev/fl_chart-0.55.2/lib/src/utils/utils.dart:257:20: Error: Member not found: 'MediaQuery.boldTextOverride'.
if (MediaQuery.boldTextOverride(context)) {
^^^^^^^^^^^^^^^^
Target kernel_snapshot_program failed: Exception
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
If anyone can help me with this issue, thanks in advance.
Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.24.4, on Microsoft Windows [Version 10.0.26100.2033], locale tr-TR)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.11.5)
[√] Android Studio (version 2024.1)
[√] VS Code (version 1.95.1)
[√] Connected device (5 available)
[√] Network resources
The versions I used in my project are below.
I am using the latest version of the fl_chart library "fl_chart: ^0.69.0" in my project, but when adding it, I get the warning below because of the "equatable: ^2.0.5" library in it.
According to the warning, I update the version and add "fl_chart: ^0.55.2". There is no problem while adding it, but when I run the project, I get the error below.
If anyone can help me with this issue, thanks in advance.
Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.24.4, on Microsoft Windows [Version 10.0.26100.2033], locale tr-TR)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.11.5)
[√] Android Studio (version 2024.1)
[√] VS Code (version 1.95.1)
[√] Connected device (5 available)
[√] Network resources
• No issues found!
Flutter 3.24.4 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 603104015d (8 days ago) • 2024-10-24 08:01:25 -0700
Engine • revision db49896cf2
Tools • Dart 3.5.4 • DevTools 2.37.3
distributionUrl=https://services.gradle.org/distributions/gradle-8.3-all.zip
#UPDATE#
I downgraded the Flutter and Dart versions. It works fine in the versions below.
3.24.0Flutter SDK
3.5.0 (Flutter)Dart SDK
The text was updated successfully, but these errors were encountered: