US Office

1176 Shadeville Rd, Crawfordville Florida 32327, USA

 +1 (850) 780-1313

India Office

Office No. 501, Shree Ugati Corporate Park, Gandhinagar - 382421, Gujarat, India

[email protected]

How to Change the App DisplayName in Flutter Application?

Change App Display Name in Flutter

How to Change the App DisplayName in Flutter Application?

Sometimes users may require to Change the App Display Name in Flutter. In this article, we will understand How to Change App DisplayName in Flutter?

How to Change App DisplayName in Flutter in Flutter Application?

Depending on the type of OS users are interacting with whether it’s an Android or iOS. Users can follow the below steps to Change the App Display Name in Flutter Application.

Android

For android, Change the app name from the Android folder, in the AndroidManifest.xml file, android/app/src/main let the android label refer to the name you prefer for eg.

<application
    android:label="App Name" ...>
</application>

iOS

Open info.plist (located at ios/Runner)

<key>CFBundleName</key>
<string>App Name</string> //

Don’t forget to run

flutter clean

You can change it in iOS without opening Xcode by editing the project/ios/Runner/info.plist <key>CFBundleDisplayName</key> to the String that you want as your name.

You can also use plugin available flutter_launcher_name.

Write pubspec.yaml like below.

dev_dependencies: 
  flutter_launcher_name: "^0.0.1"
flutter_launcher_name:
  name: "yourNewAppLauncherName"

and run

flutter pub get
flutter pub run flutter_launcher_name:main

You can get the same result as editing AndroidManifes.xml and Info.plist.

Conclusion:

In this article, We have been through How to Change the App DisplayName in Flutter?

Thanks for Reading!!!
Keep Learning.

Do let us know if you need any assistance with Flutter?

FlutterAgency.com is our portal Platform dedicated to Flutter Technology and Flutter Developers. The portal is full of cool resources from Flutter like Flutter Widget GuideFlutter ProjectsCode libs and etc.

Post a Comment