rebrand_cli 2.2.0
rebrand_cli: ^2.2.0 copied to clipboard
Rebrand Flutter apps from one CLI. Rename app/package IDs, update labels, and generate launcher icons plus native splash screens with Android 12 support.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate rebrand_cliUse it
The package has the following executables:
$ rebrand
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add rebrand_cliWith Flutter:
$ flutter pub add rebrand_cliThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
rebrand_cli: ^2.2.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:rebrand_cli/cli_options.dart';
import 'package:rebrand_cli/rebrand_config.dart';
import 'package:rebrand_cli/rebrand_service.dart';
import 'package:rebrand_cli/tasks/asset_generation_task.dart';
import 'package:rebrand_cli/tasks/backup_task.dart';
import 'package:rebrand_cli/tasks/label_update_task.dart';
import 'package:rebrand_cli/tasks/package_rename_task.dart';
import 'package:rebrand_cli/tasks/project_sync_task.dart';
import 'package:rebrand_cli/tasks/rebrand_task.dart';
import 'package:rebrand_cli/tasks/setup_dependencies_task.dart';
import 'package:rebrand_cli/tasks/validation_task.dart';