dartrofit_generator 1.0.0-alpha01

  • Readme
  • Changelog
  • Installing
  • 43

source generator for dartrofit

1.0.0-alpha01 #

  • Initial version

Use this package as a library

1. Depend on it

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


dependencies:
  dartrofit_generator: ^1.0.0-alpha01

2. Install it

You can install packages from the command line:

with pub:


$ pub get

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

3. Import it

Now in your Dart code, you can use:


import 'package:dartrofit_generator/dartrofit_generator.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
65
Overall:
Weighted score of the above. [more]
43
Learn more about scoring.

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

  • Dart: 2.8.1
  • pana: 0.13.8-dev

Health suggestions

Fix lib/src/visitors/class_visitor.dart. (-0.50 points)

Analysis of lib/src/visitors/class_visitor.dart reported 1 hint:

line 519 col 15: The declaration '_isNullOrEmpty' isn't referenced.

Fix lib/src/visitors/parameter_visitor.dart. (-0.50 points)

Analysis of lib/src/visitors/parameter_visitor.dart reported 1 hint:

line 4 col 8: Unused import: 'package:dartrofit/dartrofit.dart'.

Format lib/builder.dart.

Run dartfmt to format lib/builder.dart.

Format lib/src/checkers.dart.

Run dartfmt to format lib/src/checkers.dart.

Maintenance suggestions

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.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and dartrofit_generator.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Package is pre-release. (-5 points)

Pre-release versions should be used with caution; their API can change in breaking ways.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.7.0 <3.0.0
analyzer >=0.37.0 <0.40.0 0.39.8
build ^1.0.0 1.3.0
built_collection >=2.0.0 <5.0.0 4.3.2
built_value ^7.0.8 7.1.0
built_value_generator ^7.0.8 7.1.0
code_builder ^3.2.1 3.3.0
dartrofit ^1.0.0-alpha01 1.0.0-alpha01
quiver >=0.21.0 <3.0.0 2.1.3
source_gen ^0.9.0 0.9.5
Transitive dependencies
_fe_analyzer_shared 3.0.0
args 1.6.0
async 2.4.1
build_config 0.4.2
charcode 1.1.3
checked_yaml 1.0.2
collection 1.14.12
convert 2.1.1
crypto 2.1.5
csslib 0.16.1
dart_style 1.3.6
fixnum 0.10.11
glob 1.2.0
html 0.14.0+3
http 0.12.1
http_parser 3.1.4
js 0.6.1+1
json_annotation 3.0.1
logging 0.11.4
matcher 0.12.6
meta 1.1.8
node_interop 1.1.1
node_io 1.1.1
package_config 1.9.3
path 1.7.0
pub_semver 1.4.4
pubspec_parse 0.1.5
source_span 1.7.0
stack_trace 1.9.3
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
watcher 0.9.7+15
yaml 2.2.1
Dev dependencies
build_runner ^1.0.0
build_verify ^1.1.0
pedantic ^1.8.0 1.9.0
test ^1.6.0