I have seen a video on youtube (https://www.youtube.com/watch?v=yHj1vxdzBpQ&t=848s) that describes how:
1. We can generate code for our figma design components through a plugin called Figma to Code.
2. we can paste this code in custom widget function in FlutterFlow
3. Compile the code and preview.
I have been trying to do the same but have been facing 3 or 4 errors.
My questions:
1. Is this way relevant to importing widgets from Figma to FlutterFlow using custom widget function?
2. If yes, how can we do that?
Importing Figma designs (through Figma to code plugin) and then using this code in flutter flow custom widget, I am facing certain errors. Can anyone please help and resolve this?
Widgets & Design
I have installed Figma to Code plugin in Figma
Copied code snippet
Pasted the code snippet after return variable in custom widget in FLutterFlow as shown in the screenshot.
Received errors
No
1