Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Widget: Target of URI doesn't exist #5453

Open
1 of 2 tasks
narayanzzz opened this issue Feb 19, 2025 · 2 comments
Open
1 of 2 tasks

Custom Widget: Target of URI doesn't exist #5453

narayanzzz opened this issue Feb 19, 2025 · 2 comments
Labels
Bug Custom code status: confirmed Issue has been reproduced and confirmed as a bug.

Comments

@narayanzzz
Copy link

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

Hi,

I have created custom widget ,where i am using flutter flow button have imported below library still its throwing below error

Target of URI doesn't exist: 'package:safe_locker/flutter_flow/flutter_flow_widgets.dart'. Try creating the file referenced by the URI, or try using a URI for a file

Any idea how to resolve this, the same code shows no issues when exported to VS code

1)Have tried including 'package:safe_locker/flutter_flow/flutter_flow_widgets.dart'

2)Exported code to vs code- no issues or any errors

Image

Expected Behavior

Should allow to use Flutter flow widgets ,in this case FFButton Widget

Steps to Reproduce

1)Create Custom Widget and include library 'package:safe_locker/flutter_flow/flutter_flow_widgets.dart'.
2)Use FFButton Widget,it will throw error stating Target of URI flutter_flow_widgets.dart not found

Reproducible from Blank

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

Bug Report Code (Required)

IT40r87Z7ZBiostn5paNafJuvBIjOXo2U+dE0u17aCosfZT2BLMcec/RVERDXdziYwhLMWL9nWoW0Pz5kdrDUO03EE+sQbZRwZFibQnwQkGVMa6TFJWgdmslGZ1QIH6v04mNkxBRCMxYdFI93176ffCXbAHZJbLyCm48D6/LZO4=

Visual documentation

Image

Environment

- FlutterFlow version: 5.2.1
- Platform: Web
- Browser name and version: Google Chrome 133.0.6943.99
- Operating system and version affected: Windows 10

Additional Information

No response

@narayanzzz narayanzzz added the status: needs triage A potential issue that has not been confirmed as a bug. label Feb 19, 2025
@Alezanello Alezanello self-assigned this Feb 19, 2025
Copy link
Collaborator

Thank you for bringing this to our attention! 🙏

I’ll forward this to the engineering team. This appears to be a bug with the code analyzer, as everything works correctly and is properly connected when the code is downloaded locally.

We appreciate your patience while we investigate this further! 😊

@Alezanello Alezanello removed their assignment Feb 19, 2025
@Alezanello Alezanello removed the status: needs triage A potential issue that has not been confirmed as a bug. label Feb 19, 2025
@Alezanello Alezanello added status: confirmed Issue has been reproduced and confirmed as a bug. Bug labels Feb 19, 2025 — with Linear
@narayanzzz
Copy link
Author

In the custom widgets, sections pls refer to CustomAddGeofence Widget for the issue

Also dont see the issue when i create a blank project and create a custom widget with FFButton

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Custom code status: confirmed Issue has been reproduced and confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

3 participants