rename_flutter_project 1.0.2 copy "rename_flutter_project: ^1.0.2" to clipboard
rename_flutter_project: ^1.0.2 copied to clipboard

A CLI to rename a Flutter project's name, imports, and folder.

rename_flutter_project #

A Dart CLI tool that helps you rename a Flutter project by updating the project name in:

  • The pubspec.yaml
  • All package: import statements

This tool simplifies the process of renaming your Flutter app, ensuring that references across your codebase are updated consistently.


🚀 Installation #

To use the rename_flutter_project CLI tool, you need to activate it globally using pub.

Run the following command in your terminal:

dart pub global activate rename_flutter_project

dart pub global run rename_flutter_project

flutter clean

flutter pub get

✅ Example Output #

? Enter new project name: my_new_app
? Rename confirmed? (y/n): y
🔄 Renaming project folder...
✍️  Updating pubspec.yaml...
🔁 Replacing all import paths...
🚀 Running `flutter pub get`...
✅ Project renamed successfully!
2
likes
120
points
141
downloads

Publisher

unverified uploader

Weekly Downloads

A CLI to rename a Flutter project's name, imports, and folder.

Repository (GitHub)

Documentation

API reference

License

unknown (license)

Dependencies

path, yaml

More

Packages that depend on rename_flutter_project