Skip to content

Can't add flutter_material_pickers with intl: ^0.20.2Β #62

@manuelarte

Description

@manuelarte

When trying to add the library I get:

flutter pub add flutter_material_pickers
The current Dart SDK version is 3.7.2.

Because flutter_material_pickers <2.0.0 doesn't support null safety and flutter_material_pickers >=2.0.0 <3.4.0 depends on intl ^0.17.0, flutter_material_pickers <3.4.0 requires intl ^0.17.0.
And because flutter_material_pickers >=3.4.0 <3.7.0 depends on intl ^0.18.0 and flutter_material_pickers >=3.7.0 depends on intl ^0.19.0, every version of flutter_material_pickers requires intl ^0.17.0 or ^0.18.0 or ^0.19.0.
So, because myProject depends on both intl ^0.20.2 and flutter_material_pickers any, version solving failed.

The lower bound of "sdk: '>=2.0.0 <3.0.0'" must be 2.12.0 or higher to enable null safety.
For details, see https://dart.dev/null-safety
Failed to update packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions