In this tutorial, we’re going to learn the manual method to add custom fonts in your Flutter apps.
Let’s head over to fonts.google.com and choose a font to download. I like the TrainOne font, I will search for it on the Google Fonts page. Once the font is found, click on it so that it opens a list of styles
To download the font, I will select the “Select styles” tab first and then I will click on the “Download family” button which is in the top right corner. Google font will be downloaded as a zip archive.
You need to unzip it before moving ahead.
We’ll create a folder named fonts here and transfer the unzipped folder which contains our fonts.
Now, back to the IDE! .
In your IDE, or using any text editor, open the pubspec.yaml file.
Now let watch the video.
#developer #coding #programming #programmer #javascript #code #coder #webdeveloper #python #java #html #software #technology #webdevelopment #development #css #computerscience #softwaredeveloper #codinglife #webdesign #developers #tech #php #softwareengineer #programmers #developerlife #dev #web #design #flutter