In one of the applications I'm currently working on, there is a need to allow users to select a font from a variety of Google web fonts.
Since I don't want to load all the fonts when the application loads, I've added some code to dynamically load only the selected font.
Below you can see it in action.
The code can be viewed in this jsFiddle.
Flutter Web: Things to know…
4 years ago