One Text Theme To Rule Them All
Published in
3 min readJul 20, 2021
In Flutter, we have two types of platforms; Material-based and Cupertino-based. Let me show you the trick to write one text Theme that works for both platforms and how to use custom fonts.
Background
Google does cover this in the Flutter training docs. First, the Flutter team had just material widgets for both material-based and cupertino-based platforms. Then Google started…