I have already set on my pubspec.yaml the following code:
fonts: - family: Roboto fonts: - asset: fonts/Roboto-Light.ttf - asset: fonts/Roboto-Thin
You can use TextStyle widget to show any custom font in your flutter application.
Text( “Home”, style: TextStyle(fontFamily: ‘Roboto-Light’))
You can also use google fonts in your application if you want. You can also refer this flutter fonts tutorial.