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

Incompatible with current Flutter SDK. #1866

Closed
1 task done
SMH-Lily opened this issue May 14, 2024 · 4 comments · Fixed by #1874
Closed
1 task done

Incompatible with current Flutter SDK. #1866

SMH-Lily opened this issue May 14, 2024 · 4 comments · Fixed by #1874
Labels
enhancement New feature or request

Comments

@SMH-Lily
Copy link

Is there an existing issue for this?

Use case

I would love to keep using this package, but the pub score is too low and the app has too many dependencies.

Proposal

Please check the Score tab in pub.dev

image

@SMH-Lily SMH-Lily added the enhancement New feature or request label May 14, 2024
@ellet0
Copy link
Collaborator

ellet0 commented May 14, 2024

It's probably an analysis issue from pub.dev side, for example, the issue tracker is already defined, see this link

image

The package hasn't been updated for the latest version yet.

@romanr
Copy link

romanr commented May 15, 2024

Better rename this issue to "Incompatible with current Flutter SDK."
if you use intl, localizations, pub get unable to resolve;

Because every version of flutter_localizations from sdk depends on intl 0.19.0 and flutter_quill >=9.2.4 depends on intl ^0.18.1, flutter_localizations from sdk is incompatible with flutter_quill >=9.2.4.
So, because depends on both flutter_quill ^9.3.11 and flutter_localizations from sdk, version solving failed.

@AlceoMazza
Copy link

While waiting for updates I'm having my project temporarily work by adding dependency overrides in my pubspec.yaml, like this:

dependency_overrides:
  flutter_colorpicker: # Keep this dependency override until flutter_colorpicker updates get published on pub.dev or until flutter_quill changes package for its color picker
    git: https://github.com/mchome/flutter_colorpicker.git
  intl: ^0.19.0 # Keep this dependency override until flutter_quill gets updated

@SMH-Lily SMH-Lily changed the title Updating flutter version breaks everything Incompatible with current Flutter SDK. May 15, 2024
@ellet0
Copy link
Collaborator

ellet0 commented May 16, 2024

Add this to your pubspec.yaml

dependency_overrides:
  # TODO: Temporarily add this to avoid build failure
  flutter_quill:
    git: https://github.com/singerdmx/flutter-quill.git
  flutter_colorpicker:
    git: https://github.com/mchome/flutter_colorpicker.git
  pdf_widget_wrapper: ^1.0.4

This should fix the issue as a temporary solution

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

Successfully merging a pull request may close this issue.

4 participants