figma2flutter
figma2flutter copied to clipboard
[FEATURE REQUEST] Allow passing 'package' parameter to specify where textstyle font family comes from
This is a bit specific, but I'm generating my tokens in a library to be included in more than one project. Right now, the textstyle is specifying a font family, and I want to include the font within my library. This means that my textstyle needs to have the package property set to tell flutter where to get the font from.
I did a bit of research, and transformers are created as static items, so I don't see how we can pass arguments to it.
Convert to dependency injection?