Is there a way to unload fonts loaded via loadFontFromList in flutter desktop application?

243 views Asked by At

I'm making an application for Flutter Desktop and need to load and use the font files in the local directory.

The fonts were loaded through the loadFontFromList function. But I couldn't find a way to unload the loaded font. Is there any way to unload the fonts?

1

There are 1 answers

1
Randal Schwartz On

It looks like https://pub.dev/packages/font_face_observer (Font Face Observer package) has unload, which will likely do what you need.