Closed Jupi007 closed 1 year ago
I found a very simple solution. If you need data class as non private, you just need to create this kind of class (same as the private one):
class IconsData extends IconData {
const IconsData(int codePoint)
: super(
codePoint,
fontFamily: 'Icons',
fontPackage: 'icons',
);
}
Closing this issue because this is not required in this tool :)
It could be imo nice to not make the icon data class private to allow stuff like this:
This allow for example to create a list of all icons by looping between a range of code point. I can make a PR if you want :)