Skip to content

FlutterFlow-generated intl 0.20.2 conflicts with flutter_localizations requiring intl ^0.20.3 #7439

Description

@hc37tw-dotcom

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

A Custom Widget cannot compile because FlutterFlow's dependency check fails during flutter pub get.

FlutterFlow automatically adds and pins intl 0.20.2. The current Flutter SDK's flutter_localizations package requires intl ^0.20.3, so dependency resolution fails.

Exact solver error from a freshly downloaded FlutterFlow project:

Because every version of flutter_localizations from sdk depends on intl 0.20.3 and the project depends on intl 0.20.2, flutter_localizations from sdk is forbidden.
So, because the project depends on flutter_localizations from sdk, version solving failed.

Adding intl 0.20.3 as a Custom Pub Dependency does not resolve the issue. FlutterFlow warns that intl 0.20.2 is automatically added and that the specified version is incompatible with FlutterFlow.

Expected Behavior

FlutterFlow should generate a compatible intl constraint for its current Flutter SDK so that flutter pub get succeeds and Custom Widgets can compile. A user-added override should not be necessary for an automatically managed FlutterFlow dependency.

Steps to Reproduce

  1. Open a FlutterFlow project using the current FlutterFlow-managed dependencies.
  2. Add a Custom Widget.
  3. Add the Custom Pub Dependency zego_uikit_prebuilt_call: 4.24.4.
  4. Compile or preview the Custom Widget.
  5. Observe: "Error running flutter pub get while checking custom widgets and actions."
  6. Download the project and run flutter pub get in a clean package cache.
  7. Observe that FlutterFlow generated intl: 0.20.2, while flutter_localizations from the current SDK requires intl ^0.20.3.
  8. Attempt to add intl: 0.20.3 under Custom Pub Dependencies.
  9. Observe FlutterFlow's warning that intl 0.20.2 is automatically added and the custom version is incompatible.

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT4ClvLlw8pgocNY15DtbcdohSQvNlx9RYEe0O1ETkwgJ5POD+x/fMnBN1dUOeHiTFFceGe0nXMX/MqPv9r1V+06PQSaGqFyyM1xWArhVlKuSpCuO5S3b3cnHp9mCB2ay7ejiAokOsphcUIg3E2Le+zJRXPBK4zUIkcjPOa4XdeK2SrDX1iXc2URm05KZDPz

Visual documentation

Attached screenshots show: (1) Custom Widget compilation failure caused by flutter pub get, (2) Project Dependencies warning that FlutterFlow automatically adds intl 0.20.2 and rejects intl 0.20.3, and (3) FlutterFlow Pub Dependencies showing the automatically managed intl 0.20.2 version.

Image Image Image

Environment

- FlutterFlow version: Current web editor as of 2026-08-27
- Platform: FlutterFlow Web
- Browser name and version: Google Chrome
- Operating system and version affected: Windows

Additional Information

This blocks compilation and preview of the project's Custom Widget and prevents keeping the working local video-call implementation synchronized with FlutterFlow. The freshly downloaded project reproduces the conflict locally. Please update FlutterFlow's managed intl version/constraint or provide a supported workaround.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions