How can I change the app display name build with Flutter

0 votes

I have created the app using Flutter create testapp. Now, I want to change the app name from "testapp" to "My Trips Tracker". How can I do that?

I have tried changing from the AndroidManifest.xml, and it got changed, but is there a way that Flutter provides to do that?

Mar 20, 2023 in Flutter by Ashwini
• 5,430 points
2,576 views

1 answer to this question.

0 votes

Yes, you can change the app display name in Flutter by modifying the pubspec.yaml file.

  1. Open the pubspec.yaml file in your project.
  2. Find the name field and change it to "My Trips Tracker" or any name you prefer.
  3. Save the file.

After making this change, the app name should be updated on both Android and iOS platforms. However, note that this will only change the app display name, not the package name. If you want to change the package name, you will need to modify it in the AndroidManifest.xml file and in the Xcode project for iOS.

To know more, join our Flutter Course today.

answered Mar 21, 2023 by venky

Related Questions In Flutter

0 votes
1 answer

How to change flutter project name and id?

Yes, it is possible to change the ...READ MORE

answered Mar 20, 2023 in Flutter by pooja
4,782 views
0 votes
1 answer

How do you change the value inside of a textfield flutter?

To change the value inside a TextField ...READ MORE

answered Mar 26, 2023 in Flutter by Tej
8,847 views
0 votes
1 answer

How to get build and version number of Flutter app?

You can get the build and version ...READ MORE

answered Mar 29, 2023 in Flutter by pooja
1,249 views
0 votes
1 answer

3d Model In Flutter with GLB, OBJ, or GLTF file

To integrate a 3D model into Flutter ...READ MORE

answered Apr 13, 2023 in Flutter by pooja
1,859 views
0 votes
1 answer

Linking 3 Flutter Projects in One Flutter Project

Yes, it is possible to combine multiple ...READ MORE

answered Mar 20, 2023 in Flutter by vinayak
691 views
0 votes
1 answer

How to dismiss an AlertDialog on a FlatButton click?

To dismiss the AlertDialog when the FlatButton ...READ MORE

answered Mar 26, 2023 in Flutter by pooja
2,709 views
0 votes
1 answer

Run IOS Background Services for longer time

To run an iOS app's background services ...READ MORE

answered Mar 31, 2023 in Flutter by Raji
3,189 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP