flutter-packages icon indicating copy to clipboard operation
flutter-packages copied to clipboard

Category metadata

Open amake opened this issue 5 years ago • 1 comments

I have a use case where I would like to offer users the ability to select a font from this package, but there are just so many that it's overwhelming.

In particular, I would like to be able to narrow the list down to only monospace fonts, but there's currently no clean way to do so (without e.g. manually collecting font names from https://fonts.google.com/?category=Monospace).

It would be nice if we could programmatically obtain the category (Serif, Sans Serif, Display, Handwriting, Monospace) of each font. For instance asMap() could have a counterpart byCategory() or similar.

amake avatar May 22 '20 14:05 amake

I like this idea!

guidezpl avatar Dec 30 '21 14:12 guidezpl