Skip to content

[General]: package:intl version resolution on beta flutter branch #1473

Closed
@hashem78

Description

@hashem78

Is there an existing issue for this?

  • I have searched the existing issues

Package/Plugin version

10.0.0

Platforms

  • Android
    iOS
    Linux
    MacOS
    Web
    Windows

Flutter doctor

Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 3.30.0-0.1.pre, on Ubuntu 24.10 6.11.0-18-generic, locale
    en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.1)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2024.2)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!

Minimal code example

Code sample

Current Behavior

Resolving dependencies...
Note: intl is pinned to version 0.20.2 by flutter_localizations from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.

Because no versions of flutter_form_builder match >10.0.0 <11.0.0 and flutter_form_builder
10.0.0 depends on intl ^0.19.0, flutter_form_builder ^10.0.0 requires intl ^0.19.0.
And because every version of flutter_localizations from sdk depends on intl 0.20.2,
flutter_form_builder ^10.0.0 is incompatible with flutter_localizations from sdk.
So, because speaknow_app depends on both flutter_localizations from sdk and
flutter_form_builder ^10.0.0, version solving failed.
Failed to update packages.

Expected Behavior

Version resolution to succeed

Steps To Reproduce

Use the latest flutter beta with any app depending on flutter_form_builder 10.0.0

Aditional information

I suggest updating the constraint for this package's intl version.

Activity

added theissue type on Feb 22, 2025
changed the title [-][Field name or General]: <title>[/-] [+][General]: package:intl version resolution on beta flutter branch[/+] on Feb 22, 2025
deandreamatias

deandreamatias commented on Feb 27, 2025

@deandreamatias
Collaborator

Hi!
@hashem78 If you can create a PR to solve this, I will review and merge.
Thanks!

added a commit that references this issue on Mar 2, 2025

Merge pull request #1475 from flutter-form-builder-ecosystem/feature/#…

5c694f2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Participants

    @hashem78@deandreamatias

    Issue actions

      [General]: package:intl version resolution on beta flutter branch · Issue #1473 · flutter-form-builder-ecosystem/flutter_form_builder