AngeloAvv / flutter_flavorizr

A flutter utility to easily create flavors in your flutter application
https://pub.dev/packages/flutter_flavorizr
MIT License
469 stars 85 forks source link

The following fields were missing: [flavorizr] in case of name flavorizr.yml not flavorizr.yaml #275

Open lorsor opened 2 months ago

lorsor commented 2 months ago

On running flutter pub run flutter_flavorizr i got the error

The following fields were missing: [flavorizr]

I did some research inside of the package and i noticed that my file was named flavorizr.yml and not flavorizr.yaml. After i changed the name to flavorizr.yaml it worked.

Could one please change it to also accept the .yml? Fortunately i found the solution pretty fast, but that could be something one can spend hours of finding a solution on.

Thank you!