- Open terminal and go to your project's lib folder. After that run the command below.
find . -name '*.dart' ! -name '*.g.dart' ! -name '*.freezed.dart' ! -name '*.gr.dart' ! -name '*.gen.dart' | xargs wc -l
Thanks @AcetylsalicylicAcid for excluding generated files.
Hi @Adem68 I am getting error like this
xargs : The term 'xargs' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if
a path was included, verify that the path is correct and try again.
At line:1 char:110