02 Jan 2023 . Min ReadHow to add custom font at particular space in your app - Flutter
Why we need to add custom font in our app:
let's say we have a one screen like this,
now you have to change the font style of some of this font like this,
so how we can do this with custom font ".ttf " file?
Let's Start:
step 1:
We have to create assets folder in our project file and add font that we have to add in our application it will look like this:
then we have to add those font also in our pubspec.yaml for using this in our application so add this code in the end of your pubspec