Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
[ad_1]
I utilizing customized font for my Flutter app:
return MaterialApp (
theme: ThemeData(
fontFamily: "MyFont"
)
)
however in a single place of software I want to make use of “system font”. that is particularly vital for iOS (Sf Professional). If I perceive appropriately, that is the system font for iOS. However how can I exploit “system font” if I already use “customized font” at software degree?
I attempted:
last fontFamily = DefaultTextStyle.of(context).type!.fontFamily;
However this code return “MyFont”.
additionally I attempted importing from apple web site. however there is just one huge SF-Professional.ttf(8Mb) file contained in the picture. Not – SFPro-Common.ttf, SFPro-SemiBold.ttf … Flutter doesn’t help .otf recordsdata.
clear up this drawback? any recommendation I will probably be grateful
[ad_2]