I downloaded a font and placed it in assets.
pubspec.yaml
fonts:
- family: Noor Regular
fonts:
- asset:assets/fonts/noorehuda-Regular.ttf
Error:
Error detected in pubspec.yaml:
Expected "fonts" to be a list of maps.
I downloaded a font and placed it in assets.
pubspec.yaml
fonts:
- family: Noor Regular
fonts:
- asset:assets/fonts/noorehuda-Regular.ttf
Error:
Error detected in pubspec.yaml:
Expected "fonts" to be a list of maps.
The formatting is incorrect. give a space b/w asset: assets/...