Skip to content

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

Open
@narayanzzz

Description

@narayanzzz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions