Native Shopify Mobile App with 20 new features
Kickstart your hyperlocal marketplace in Corona pandemic with a starter guide
Android App Development
iOS App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 18.104.22.168 release ready!
Owner and Founder. Opencart
In this blog, we will see how to use the custom fonts in the flutter app. Flutter supports .ttf and .otf font formats for all platforms. Roboto and San Fransisco are the default font family for Android and iOS, respectively. Google has provided more than 1,000 open-sourced font families . To Know more about fonts visit flutter.dev website.
Using custom font our app will become more interactive, attractive and user friendly.
For another approach to using custom fonts, especially if you want to re-use one font over multiple projects, see Export fonts from a package.
To add the custom form to your projects, follow the steps given below.
1. Download the font file.
Initially, you need to download the font file. For downloading the file you need to visit google font or you can add google_fonts package in pubspec.yaml file.
2. Add fonts to the project.
3. Declare the font in the pubspec.yaml file.
4. Use font in the widgets.
5. Set font as the default
In conclusion, I hope this blog will help you better understand of Use Custom font in the flutter. If you feel any doubt or queries please comment below.
Thanks for the read this blog and if you want to visit my other blogs click here.
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
When I think in getting solutions for my Ecommerce Platform, I think of Webkul. They have been such a blessing in our business. We have spent thousands of dollars in support and modules from them. We love their support team. They work very closely with us, and they always go the extra mile when we need help.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.