This is an excerpt of my pubspec.yaml file:
flutter: uses-material-design: true fonts: - family: Coiny fonts: - asset: fonts/Coiny-Regular
Font declaration alignment is not as per flutter pubspec.yaml. It should be like below.
fonts: - family: Coiny fonts: - asset: fonts/Coiny-Regular.ttf
You can check out it here.