Open AnirudhGoel opened 1 day ago
I just tried to run the code of a blank project with just this widget locally (downloaded from FF). It worked fine! So, that makes me believe this is more of a FF problem than a Flutter problem?
I was trying to figure out what step of my custom code might be messing things up but it fails to work even with just the import statements (removed everything else and just added the import statements to the boilerplate code). This seems quite strange.
Hello,
I copied and pasted the custom widget code and modified it to only receive the width and height parameters by removing the data types, aiming to test its behavior. However, I encountered two issues
Can we access your project?
Current Behavior
I'm trying to build a custom widget for thermal printing of order receipts for my food delivery app. I'm using this flutter package - https://pub.dev/packages/flutter_thermal_printer/.
This is the code that I've written-
The flutterflow compiler doesn't throw any specific errors but just says "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."
I've already checked that the name of the widget and the one provided in the editor do match-
I've also added the above mentioned package as a dependency (and all of its dependencies too).
I tried reproducing the error in a new project, but instead of the getting the same error there, the compiler just keeps on loading in the new project.
Expected Behavior
The widget should've compiled or I should received a specific error.
Steps to Reproduce
Reproducible from Blank
Bug Report Code (Required)
IT8glc/qx4V2rscA+KXydcAxnjgRKUAna7ssluxuZwEdCO/yPbd2duOlQFNocO6Ba1BAP2GgmmMxw63Tv9ieVO1cE0urRoBy+ZVXdwzJWlORR82sOrm/e0FCFphTJhWHyMGRoQlNOfNzWXtn31OYBN6XQgrYGJzRC3oZQ86XIqz5+nilHADRFDsw5wwDHmreTI5ODEz25eKMrop5yfj/0w==
Visual documentation
In my existing project -
In a new blank project -
Environment
Additional Information
The issue is affecting my company in real-time. A few restaurants are waiting to be onboarded on my platform just due to this order printing functionality. So, if you can have a look at this at priority, that'd be great.