搜索插件、代码仓与 APP 分类

插件详情v0.0.1

flutter_launcher_name

一个命令行工具,可简化更新您的 Flutter 应用程序启动器名称的任务。

近 30 天下载
1200
喜欢数
169
Pub 分数
40

安装插件

flutter pub add flutter_launcher_name

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

一个 Flutter 包,可简化在各个平台上更新应用启动器名称的过程。它提供了一个命令行工具,可在不手动编辑的情况下修改 Android 和 iOS 启动配置中的应用显示名称。这简化了开发工作流程,尤其是在管理多个环境或品牌变更时。该工具确保一致性,并降低配置错误的风险。

适合场景

  • 为不同构建版本更新应用名称
  • 在 CI/CD 流水线中更改应用显示名称
  • 跨环境管理品牌差异
  • 在多平台应用中自动更新启动名称

主要特点

  • 命令行界面,便于更新
  • 支持 Android 和 iOS 平台
  • 保留现有配置完整性
  • 通过 pub add 简单集成
  • 自动化平台特定的文件修改

适合对象

  • 开发人员管理多个应用变体
  • 使用自动化部署工作流的团队
  • 需要频繁更改品牌标识的项目
  • 针对 Android 和 iOS 的 Flutter 应用

使用建议

  • 需要手动设置配置文件
  • 可能与自定义构建脚本冲突
  • 不适用于运行时名称更改
  • 仅限构建时配置更新

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

flutter_launcher_name

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.

:sparkles: What's New

:book: Guide

1. Setup the config file

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"

2. Run the package

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

:mag: Attributes

Shown below is the full list of attributes which you can specify within your Flutter Launcher name configuration.

  • name: The new application launcher name.

所属分类

依赖

依赖清单 1 项

源码仓库

使用此插件的项目