names_launcher 0.0.1 names_launcher: ^0.0.1 copied to clipboard
A command-line tool that simplifies the task of updating your Flutter app's launcher name.
✨ Names Launcher ✨
A command-line tool that simplifies the task of updating your Flutter app's launcher name. Full flexibility allows you to only update the launcher name for specific platforms as needed.
Platform Support #
Android | iOS | MacOS | Web | Linux | Windows |
---|---|---|---|---|---|
✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
Guide #
1. Setup the config file #
Add your Names Launcher configuration to your pubspec.yaml
or create a new config file called names_launcher.yaml
.
Add config to pubspec.yaml
or create a separate names_launcher.yaml
names_launcher:
name: "Your App Name"
platforms:
android:
enable: true
ios:
enable: true
2. Run the package #
After setting up the configuration, all that is left to do is run the package:
flutter pub get
dart run names_launcher:change
If you name your configuration file something other than names_launcher.yaml
or pubspec.yaml
you will need to specify the name of the file when running the package.
flutter pub get
dart run names_launcher:change --path <your config file name here>
NOTE: If you are not using the existing pubspec.yaml
your config file must still be located in the same directory as it.
If you encounter any issues please report them here.
In the above configuration, the package is setup to change the existing launcher names in both the Android and iOS project.
Attributes #
Shown below is the full list of attributes which you can specify within your Names Launcher configuration.
Names Launcher Option | Type | Default | Description |
---|---|---|---|
name |
String | null |
The launcher name |
platforms |
Object | null |
Use for specific platform to change names |
Platforms Option | Type | Default | Description |
---|---|---|---|
android |
Object | null |
Use for specific android platform |
ios |
Object | null |
Use for specific android platform |
macos |
Object | null |
Use for specific android platform |
windows |
Object | null |
Use for specific android platform |
web |
Object | null |
Use for specific android platform |
linux |
Object | null |
Use for specific android platform |
Android Option | Type | Default | Description |
---|---|---|---|
enable |
Boolean | false |
Use for enable android platform |
name |
String | null |
The launcher name |
IOS Option | Type | Default | Description |
---|---|---|---|
enable |
Boolean | false |
Use for enable ios platform |
name |
String | null |
The launcher name |
Web Option | Type | Default | Description |
---|---|---|---|
enable |
Boolean | false |
Use for enable ios platform |
name |
String | null |
The launcher name |
macOS Option | Type | Default | Description |
---|---|---|---|
enable |
Boolean | false |
Use for enable macos platform |
name |
String | null |
The launcher name |
Windows Option | Type | Default | Description |
---|---|---|---|
enable |
Boolean | false |
Use for enable windows platform |
name |
String | null |
The launcher name |
Linux Option | Type | Default | Description |
---|---|---|---|
enable |
Boolean | false |
Use for enable linux platform |
name |
String | null |
The launcher name |
Example #
names_launcher:
name: "Your App Default Name"
platforms:
android:
enable: true
name: "Your Android App Name"
ios:
enable: true
name: "Your iOS App Name"
web:
enable: true
name: "Your Web App Name"
macos:
enable: false
name: "Your MasOS App Name"
windows:
enable: false
name: "Your Windows App Name"
linux:
enable: false
name: "Your Linux App Name"