Skip to content

fix: Generated projects fail due to intl version conflict with flutter_localizations (Flutter 3.32.0)Β #1280

@Enki013

Description

@Enki013

Description

Very Good CLI fails to run flutter pub get due to a dependency conflict involving the intl package.

Error

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 flutter_localizations from sdk depends on intl 0.20.2, and firebase_example depends on intl ^0.19.0, version solving failed.

Version

very_good 0.25.0

Steps To Reproduce

  1. Make sure Flutter 3.32.0 is installed and active.
  2. Install or update very_good_cli:
    dart pub global activate very_good_cli
  3.  very_good create flutter_app my_app
    
    

Expected Behavior

After generating a new Flutter project using very_good create, I expect flutter pub get to run successfully without any version conflicts β€” especially for core dependencies like intl, which are pinned by the Flutter SDK. The generated pubspec.yaml should reflect versions that are compatible with the current stable Flutter release.

Additional Context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions