How to Change App Font?
To change the font used in your News App:
-
Go to the
assets > font
folder. Copy your custom font files here. -
Now open
pubspec.yaml
and update the font section with your font names as shown below: -
Go to
lib > ui > styles
folder and change your font names in the theme files for both Light and Dark themes:
This will apply your custom fonts throughout the application.