flutter_rename_app 1.0.0

  • Readme
  • Changelog
  • Example
  • Installing
  • 74

flutter_rename_app #

Rename Flutter applications in one command.

This package assumes that you created your flutter project using flutter create command line.

Usage #

Add dependency #

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_rename_app:

Define Settings #

flutter_rename_app:
  application_name: Bank App
  dart_package_name: bank_app
  application_id: com.android.bank
  bundle_id: com.ios.bank
  android_package_name: com.bank.app
settingdescriptionrequired
application_nameYour application's nameyes
dart_package_nameThe dart package name (used in all imports in your lib or test directories)no
application_idThe android application_id, must be unique on the Play Storeno
bundle_idThe iOS bundle_id, must be unique on the Apple Storeno
android_package_nameThe android package_name, used only for the architecture of your android filesno

Run package #

Make sure that your current working directory is the project root.

Make sure to be able to get back to previous state in case something went wrong, by commiting your work before running the package for example.

flutter pub get
flutter pub run flutter_rename_app

[0.0.1] - 04/01/2020 #

  • Initial release

[0.0.2] - 05/01/2020 #

  • Fix pub.dev warnings

[0.0.3] - 05/01/2020 #

  • Fix issue on app names with specific characters

[0.0.4] - 05/01/2020 #

  • Fix characters issues

[1.0.0] - 06/01/2020 #

  • First Release version

example/lib/main.dart

import 'package:example/screens/home.dart';
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Home(),
    );
  }
}

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  flutter_rename_app: ^1.0.0

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

Popularity:
Describes how popular the package is relative to other packages. [more]
52
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
74
Learn more about scoring.

We analyzed this package on Mar 27, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.6
  • Flutter: 1.12.13+hotfix.8

Maintenance issues and suggestions

Make sure dartdoc successfully runs on your package's source files. (-10 points)

exitCode: 255 stdout: parsing /flutter/bin/cache/pkg/sky_engine/lib/collection/collection.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/developer/developer.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/internal/internal.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/_interceptors/interceptors.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/io/io.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/isolate/isolate.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/convert/convert.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/async/async.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/typed_data/typed_data.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/_empty.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/js_util/js_util_dart2js.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/html/html_dart2js.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/math/math.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/core/core.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/_http/http.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/ui/ui.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/js/js_dart2js.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/ffi/ffi.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/wasm/wasm.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/_interceptors/js_array.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/_interceptors/js_number.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/_interceptors/js_string.dart... Initialized dartdoc with 19 libraries in 25.3 seconds documenting flutter_rename_app Validating docs... no issues found Documented 0 public libraries in 1.1 seconds stderr: Documenting flutter_rename_app... Unhandled exception: dartdoc could not find any libraries to document #0 Dartdoc.generateDocs (package:dartdoc/dartdoc.dart:196:7)

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
ansicolor ^1.0.2 1.0.2
flutter 0.0.0
process_run ^0.10.6 0.10.8
yaml ^2.2.0 2.2.0
Transitive dependencies
args 1.6.0
charcode 1.1.3
collection 1.14.11 1.14.12
io 0.3.3
meta 1.1.8
path 1.6.4
pub_semver 1.4.4
sky_engine 0.0.99
source_span 1.7.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test