Unknown error compiling any Custom Widget

Widgets & Design

When I try to compile a Custom Widget that works for another FF developer I get the below error: "Unknown error compiling custom code. A common cause is a custom widget or action whose name in the code does not match the name provided in the editor."

The issue seems to be happening due to some project config issue, but I do not have any other errors displayed for the project. How can I find what project issue is preventing me from compiling any custom Widget?

What have you tried so far?

1- Starting a new widget from scratch by just updating the name and using the boiler plate code provided by FF with the button on the right and I get the same issue.

2- Starting a new widget from the MacOS FF app, same issue happens.

3- I tried starting a new project and then create a new widget, the compilation happens without an issue.

Did you check FlutterFlow's Documentation for this topic?
Yes
3
1 reply