Open phil528i opened 2 weeks ago
Hey @phil528i thanks for your report. I just created a project, added two Icon files to it and added two Icon widgets with icons of each IconSet, and everything is looking fine when I download the code.
Could you try reproducing your issue from a Blank project and sharing with me the Debug code for it?
@ignalauret , I'll do as you ask shortly. In the meantime, I thought that I'd share how this issue has evolved since yesterday (or the day before). Here is a screenshot of those same files including a comparison to the FlutterFlow UI. There is now a duplicate entry in the generated files still causing a build error. I think there was temporarily a duplicate entry in the FlutterFlow UI but it appears to be gone, but still leaving the duplicate entries in the duplicated code. No idea why, but it's a reversal of the original problem almost (no idea what's going on under the hood).
Thanks! Yes, checking at your project, I could see that some how you managed to add duplicated Icon Files (with the same name). I tried doing that on my project but the UI didn't let me (It correctly gave an error telling me that the Icon family already existed). So, could you please remove the extra Icon file called "Treatments" and download your code again? Let me know if this fixed the issue since it will give us more information on the bug.
So, could you please remove the extra Icon file called "Treatments" and download your code again? Let me know if this fixed the issue since it will give us more information on the bug.
Notice from the screenshot that I don't have a second Treatments entry to remove...
That's interesting. So, I'm loading your project and I can see duplicated Treatments IconFile
Please let me know when you have the Blank Project with the bug reproduced, so I can inform both issues to our technical team, and they can help you out.
Hey @phil528i thanks for your report. I just created a project, added two Icon files to it and added two Icon widgets with icons of each IconSet, and everything is looking fine when I download the code. Could you try reproducing your issue from a Blank project and sharing with me the Debug code for it?
So I can reproduce the original issue with even just attempting to add a single icons file. Here is what I did, and I'm attaching the produced zip file.
Sadly, I'm following your steps and seeing the exported code importing the Custom icons correctly. I will send this to our technical team so they can take a better look at it, I'm sorry I couldn't help you fix it. They will keep you updated on this thread, have a great day!
Wow, that's pretty crazy that we get different results. Thanks for trying!
This issue is stale because it has been open for 7 days with no activity. If there are no further updates, a team member will close the issue.
Has your issue been reported?
Current Behavior
I'm using a Team Design Library within my project and I recently added a second set of custom icons. The first icon file added here many months ago appears to be fine, but the second and most recent addition isn't working.
custom_icons.dart
file. Again, reference to the first icon file a long time ago is there. Just not the most recent one. Also noticed that thepubspec.yml
has no mention of the second icon file. Only the first is listed there.Expected Behavior
Downloading the source code to build locally should be identical to the code being previewed online or in the desktop app. It clearly isn't.
Steps to Reproduce
Reproducible from Blank
Bug Report Code (Required)
IT4gi8mAw49OsdgB+ZfQae9VlmU7Nm5+a4c0rNx+bw4bI+PqPYocfODCQFJBYuqHTAk3AlSgmnMy0dL6vfzuUfVfPRGdG75A/qlxUxDhTl2lMZjSCLqRPkZ5EftWBUy+yMOvpyVRCLRuV38j3Tu2AuSub3qCf9qOYwx5e6fDbOY=
Context
I can't build my project.
Visual documentation
Missing definitions in
custom_icons.dart
:Additional Info
No response
Environment
General
Relative to the time the changes were made, data was lost within
When following my steps to reproduce, data loss happens