-
Notifications
You must be signed in to change notification settings - Fork 137
Open
Description
Code produced has syntactic errors:
- doesn't handle string with ' (as in plural like Sam's dog)
- text blocks don't line wrap property by default
flutter_svgstruggles with some of the Figma generated SVG files eg.
The following FormatException was thrown resolving a single-frame picture stream:
Invalid radix-10 number (at character 1)
109.00000110268593
- comma and semicolon errors
- pubspec.yaml code generated is in the wrong order eg. fonts before dependencies
- identifies packages like
flutter_svgfor the pubspec but then does not provide theimportstatement - no trailing commas (so makes dartfmt struggle to clean up the code) as per recommendation
- flags PNG and SVG assets (assume they go into
/assets/images/but then does not add them in assets topubspec.yaml
This is just to start. So this is promising but I need to spend lots of time fixing the generate code to just be syntactically correct at a minimum before I can run a build. So I'm not saving much time, except on very complex layouts.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels