Remove all print() in Project Files

A simple and fast way to remove all print() statements from your Dart codebase, making the process of cleaning up your project effortless.

What It Does?

  • x Automatically removes all print() statements from all your Dart files.

How to Use?

1. Add the print_remover package

In your pubspec.yaml, add the following under the dev_dependencies section:

dev_dependencies:
  print_remover: ^1.0.2

2. Update dependencies

Run the following command to fetch the latest dependencies:

flutter pub get

3. Run the print_remover

Execute the following command to remove all print() statements from your project:

dart pub run print_remover
flutter pub run print_remover

Meta

Created and maintained by Zakria Khan.
You can reach me through my social profiles:

Distributed under the MIT License.

Libraries

Support for doing something awesome.