A command-line tool which simplifies the task of updating your Flutter app's launcher name. If you user this package, You don't need modify AndroidManifest.xml or Info.plist.
Add your Flutter Launcher name configuration to your pubspec.yaml
.
An example is shown below.
dev_dependencies:
flutter_launcher_name: "^0.0.1"
flutter_launcher_name:
name: "yourNewAppLauncherName"
If no flutter_launcher_name
is specified or invalid, the default name
from the pubspec.yaml
file will be used.
After setting up the configuration, all that is left to do is run the package.
flutter pub get
flutter pub run flutter_launcher_name:main
You can try to pass parameters directly after the command to modify your Flutter Launcher name 🌸
flutter pub run flutter_launcher_name:main "myNewAppName"
or
flutter pub run flutter_launcher_name:main myNewAppName
The commandline argument is used first, if it is absent, it will look in the pubscpec.yaml
file.
Shown below is the full list of attributes which you can specify within your Flutter Launcher name configuration.
name
: The new application launcher name.