[FEATURE REQUEST] Allow passing 'package' parameter to specify where textstyle font family comes from
frederikstonge opened this issue · comments
Frederik St-Onge commented
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.
Frederik St-Onge commented
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.
Joe Freeman commented
Convert to dependency injection?