flutter_rename_app icon indicating copy to clipboard operation
flutter_rename_app copied to clipboard

Renaming not work

Open mohamedsabil83 opened this issue 4 years ago • 2 comments

After install and set configuration as mentioned, I got the following error:

Getting error : NoSuchMethodError: The method 'group' was called on null. Receiver: null Tried calling: group(1)

I work on ubuntu 20.04

My config:

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_rename_app:

flutter_rename_app:
  application_name: Demo App
  dart_package_name: demo_app

mohamedsabil83 avatar Oct 04 '20 12:10 mohamedsabil83

What is your original application name ? I have the same error if there is a digit in my orignal application name

If I do : flutter create project1

rename doesn't work

vptcnt avatar Mar 22 '21 09:03 vptcnt

This package is what you need 🔥 Too much flexibilities
https://pub.dev/packages/rename_app
Rename App The only flutter package which changes app name for all platforms with sound null safety! If you want to autmatically change your flutter app name with a single command then you are at the right pacakge. This package gives you too many flexibilities through too many variants of its commands. Read the details below to know in more details

✊ Dont forget to star the github repo if you found this package useful 😇

Features 🔥
✅ Remane Android Project
✅ Remane IOS Project
✅ Remane WEB Project
✅ Remane Windows Project

How To Rename ? 🛠

1) ADD THE PACKAGE TO DEPENDENCIES IN pubspec.yaml
flutter pub add rename_app
OR
dependencies: rename_app: ^latest_version

2) PROVIDE THE APP NAME
You can provide app name in the following ways

  • Same name for all apps

flutter pub run rename_app:main all="My App Name"

  • Seperate name for specified platform(s) and same for all others

flutter pub run rename_app:main android="Anroid Name" ios="IOS Name" others="Others Name"

  • Seperate name for each platform

flutter pub run rename_app:main android="Android Name" ios="IOS Name" web="Web Name" mac="Mac Name" windows="Windows Name"

Syed-Waleed-Shah avatar Apr 11 '22 20:04 Syed-Waleed-Shah