How to change package name
- Your package directory you can see like below image.

- Individually select each directory you want to rename, and: Right-click it, Select Refactor Click on Rename current In the Pop-up dialog.

- Enter the new name and hit Refactor. Allow a minute to let Android Studio update all changes.

- Now press ctrl + shift + R and replace old packagename with your new packagename

- For ios open ios > Runner > info.plist > there is the key CFBundleIdentifier change the string value for that as shown in below
