Flutter Pub: Expected a key while parsing a block mapping. path:

后端 未结 11 1299
死守一世寂寞
死守一世寂寞 2020-12-24 11:22

I\'m using JSON file and register in Pubspec.ymal but showing error and also when I use an image and register it, the same error also occurs. Maybe there is a f

11条回答
  •  心在旅途
    2020-12-24 12:16

    Issue is related with indent spacing, check your spacing, it should work fine
    fonts: - family: CM Sans Serif fonts: - asset: assets/fonts/cm_sans_serif_2012.ttf

提交回复
热议问题