Skip to content

Instantly share code, notes, and snippets.

@famasf1
Forked from Adem68/flutter-project-line.md
Created March 27, 2024 11:39
Show Gist options
  • Save famasf1/14cfea38f5e2480ba5e13db04bc4456f to your computer and use it in GitHub Desktop.
Save famasf1/14cfea38f5e2480ba5e13db04bc4456f to your computer and use it in GitHub Desktop.
How many lines does your Flutter project have?
  • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment