Skip to content

Custom widget with no error on main branch, but with errors on newly created branch #6285

@JulieVoltaire

Description

@JulieVoltaire

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

I have a custom widget (named PlacePickerOnMap), that compiles fine in my main branch. My app can be launched from main branch.

I just created a new branch from main (MAS-101), and I have an error on my PlacePickerOnMap widget compilation, but I don't change any line of the code!

Error :
Target of URI doesn't exist: 'package:flutter_google_places/flutter_google_places.dart'.
Target of URI doesn't exist: 'package:google_api_headers/google_api_headers.dart'.
Target of URI doesn't exist: 'package:google_api_headers/google_api_headers.dart'.

Expected Behavior

MAS-101 branch to compile and launch

Steps to Reproduce

  1. Add custom widget with these packages on main branch :
    'package:flutter_google_places/flutter_google_places.dart'.
    'package:google_api_headers/google_api_headers.dart'.
    'package:google_api_headers/google_api_headers.dart'.

  2. compile code and lauch app

  3. create a new brach from main

  4. try to compile the same custom widget

Reproducible from Blank

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

Bug Report Code (Required)

IT40tuXcz4h5rswA4czUUPVpiiokJkN9auUJiN5BaCosfZT2BLMcec/RVERpXcviYWNlM1n8v2oW0PDyht/1GvpdFEiaQLZxwaV+VAvjfEynVaqDFJWvPXRtEd5YG2rEy6SFvB1+XctpL3g5706YI+iRHz7vNLrBPW0wDq/LZO4=

Visual documentation

Image

Environment

- FlutterFlow version: 6.1.15
- Platform: iOS, web
- Browser name and version: MacOS Desktop, Web
- Operating system and version affected: macOS Sequoia 15.5

Additional Information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions