How to use Custom Font in Text Style - Flutter Tutorial - Android/iOS Hybrid Application Development

preview_player
Показать описание

In this video also we are looking for how to fix error call Flutter Pub: Expected a key while parsing a block mapping. path:

fonts:
- family: Roboto
fonts:
weight: 700
weight: 300
weight: 100

dart code:

main(){
runApp(MaterialApp(

home: Scaffold(
appBar: AppBar(
title: Text('Custom Fonts App', style: TextStyle(
fontFamily: 'Roboto', fontWeight: FontWeight.w100

)),
),
),
));
}
Рекомендации по теме
visit shbcf.ru