rn 0.0.1

  • Readme
  • Changelog
  • Installing
  • 40

rn #

Flutter rename project. Re-developed on rename package.

A few words #

The flutter-boilerplate I created recently was embedded in my project. Since the codes are dynamic, I needed to create a separate package.

Because the rename package did not support operations such as manipulating android bundleId with a folder. Based on this package, the deficiencies were eliminated and the variables were removed from the CLI and moved to the build.env file.

Getting Started #

Create build.env file on your project root directory.

Copy following codes to build.env file;

# pubspec.yaml -> name
FLUTTER_PACKAGE_NAME=flutterarch

# App name appearing on the device
APPLICATION_NAME=Flutter Arch

# pubspec.yaml -> description
APPLICATON_DESCRIPTION=A new Flutter architecture.

# Package name; com.google.flutter etc.
DOMAIN_NAME=fatihmert.dev.flutterarch

Replace as desired, then run command;

pub global run rn

or

rn

[0.0.1] - 07.05.2020 #

  • Initial release.

Use this package as an executable

1. Install it

You can install the package from the command line:


$ pub global activate rn

2. Use it

The package has the following executables:


$ rn
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
94
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
60
Overall:
Weighted score of the above. [more]
40
Learn more about scoring.

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

  • Dart: 2.8.4
  • pana: 0.13.14

Analysis suggestions

Binary only

Cannot assign flutter SDK tag because it is binary only

Binary only

Cannot assign flutter platform tags, it is a binary only package

Health suggestions

Fix bin/rn.dart. (-5.84 points)

Analysis of bin/rn.dart reported 12 hints, including:

line 140 col 5: Future results in async function bodies must be awaited or marked unawaited using package:pedantic.

line 140 col 5: Unnecessary new keyword.

line 176 col 10: The value of the local variable 'writtenFile' isn't used.

line 192 col 10: The value of the local variable 'writtenFile3' isn't used.

line 207 col 10: The value of the local variable 'writtenFile4' isn't used.

Maintenance issues and suggestions

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

exitCode: 255 stdout: Documenting rn... Initialized dartdoc with 37 libraries in 31.9 seconds Validating docs... no issues found Documented 0 public libraries in 5.5 seconds stderr: Unhandled exception: dartdoc could not find any libraries to document #0 Dartdoc.generateDocs (package:dartdoc/dartdoc.dart:218:9)

The package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0