zubairehman / flutter_boilerplate_project

A boilerplate project created in flutter using MobX and Provider.
http://zubairehman.surge.sh/
MIT License
2.26k stars 908 forks source link

build_runner command generates inject files for all the dart files in project #73

Closed codemeall closed 3 years ago

codemeall commented 3 years ago

the command flutter packages pub run build_runner build --delete-conflicting-outputs generates inject files for all the .dart tiles in the project, I am new to flutter and would appreciate if I can get more detail on why it is generating files for all .dart files

zubairehman commented 3 years ago

Hi @codemeall,

It was due to inject_generator file and the library I was using for DI. I have updated the library to Injectable and now its not generating files for all .dart files.

Thanks.