💻
Flutter documentation
  • Flutter documentation
    • Starting an App
    • Import
  • Visual Studio Code
  • Widgets
    • Stateless Widget
    • Stateful Widget
    • Scaffold
    • Text
      • OverFlow
      • Rounded background text
    • Padding
    • Align
    • DraggableScrollableSheet
    • Container
    • Decorated box
    • Expanded
    • IntrinsicHeight
    • IntrinsicWidth
    • ListView.builder(...)
    • Buttons
    • Gauge
    • Navigator
      • WillPopScope
    • Web View
    • Divider
    • Future builder
    • Image
      • Cached_network_image
      • Fade In Image
    • ClipOval
    • InkWell
    • Wrap
    • SingleChildScrollView
    • Stack
    • FittedBox
    • DropdownButton
    • ValueListenableBuilder
    • Maps
    • fl_chart
    • Set SystemNavigation Bar Color
    • Onesignal
    • Builder
    • Set orientation
    • SSE
    • Chat
    • Flutter_animate
    • Supabase
      • Android
    • Changing name and package name
    • Sign apk/abb
  • Dart
    • If / Else in one line
    • Functions
  • Others
  • Airtable
Powered by GitBook
On this page
  1. Widgets

Changing name and package name

Changing name and package name of the app

PreviousAndroidNextSign apk/abb

Last updated 2 years ago

Step 1: Install the "change_app_package_name" package

To change the package name, you can use the "change_app_package_name" package. To install it, add it to your dependencies in pubspec.yaml file:

dependencies:
  change_app_package_name: ^0.1.0

Step 2: Change the package name

Once you have installed the package, run the following command in your terminal:

flutter pub run change_app_package_name:main com.example.new_package_name

Step 3: Change the app name

To change the app name, navigate to the AndroidManifest.xml file located in android/app/src/main/ folder. Find the <application> tag and change its android:label property with your desired app name:

<application
    android:name="io.flutter.app.FlutterApplication"
    android:label="Your App Name"
    android:icon="@mipmap/ic_launcher">

Make sure to replace "Your App Name" with your desired app name.

Change Application Name and Icon in FlutterMedium
change_app_package_name | Dart PackageDart packages
Logo
Logo