built_mirrors_core 0.10.5

built_mirrors_core #

Core libraries of built_mirrors

0.10.5 #

  • upgrade analyzer to version ^0.36.0

0.10.4 #

  • Fix order of Generic Instances mirror generator

0.10.3 #

  • Fix generics superclass and superinterfaces to use class name instead class with types

0.10.2 #

  • upgrade analyzer to version ^0.34.0

0.10.1 #

  • upgrade analyzer to version ^0.33.0
  • upgrade build_runner to version ^1.0.0

0.10.0 #

  • add SerializedName annotation, this annotation will be compile time only.

0.9.0 #

  • upgrade source_gen to version ^0.9.0

0.8.5 #

  • upgrade analyzer to version ^0.32.0

0.8.4 #

  • upgrade source_gen to version 0.8.0

0.8.3 #

  • add generics support

0.8.2 #

  • move files from built_mirrors

Use this package as a library

1. Depend on it

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


dependencies:
  built_mirrors_core: ^0.10.5

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:built_mirrors_core/annotations.dart';
import 'package:built_mirrors_core/built_mirrors.dart';
import 'package:built_mirrors_core/init_mirrors_generator.dart';
import 'package:built_mirrors_core/mirrors_generator.dart';
import 'package:built_mirrors_core/scanners.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
26
Health:
Code health derived from static analysis. [more]
95
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
80
Overall:
Weighted score of the above. [more]
57
Learn more about scoring.

We analyzed this package on Aug 21, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.4.0
  • pana: 0.12.19

Platforms

Detected platforms: other

Platform components identified in package: build, io, mirrors.

Health suggestions

Fix lib/built_mirrors.dart. (-2.96 points)

Analysis of lib/built_mirrors.dart reported 6 hints, including:

line 89 col 16: Use = to separate a named parameter from its default value.

line 97 col 20: Use = to separate a named parameter from its default value.

line 98 col 25: Use = to separate a named parameter from its default value.

line 99 col 20: Use = to separate a named parameter from its default value.

line 166 col 17: Use = to separate a named parameter from its default value.

Fix lib/init_mirrors_generator.dart. (-1.49 points)

Analysis of lib/init_mirrors_generator.dart reported 3 hints:

line 65 col 11: DO use curly braces for all flow control structures.

line 72 col 13: DO use curly braces for all flow control structures.

line 77 col 11: DO use curly braces for all flow control structures.

Fix lib/annotations.dart. (-0.50 points)

Analysis of lib/annotations.dart reported 1 hint:

line 3 col 1: Prefer using /// for doc comments.

Format lib/mirrors_generator.dart.

Run dartfmt to format lib/mirrors_generator.dart.

Format lib/scanners.dart.

Run dartfmt to format lib/scanners.dart.

Maintenance issues and suggestions

Support latest dependencies. (-10 points)

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency (analyzer).

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 built_mirrors_core.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev <3.0.0
analyzer ^0.36.0 0.36.4 0.38.1
build ^1.0.1 1.1.6
source_gen ^0.9.0 0.9.4+4
Transitive dependencies
args 1.5.2
async 2.3.0
charcode 1.1.2
collection 1.14.12
convert 2.1.1
crypto 2.1.2
csslib 0.16.1
dart_style 1.2.9 1.2.10
front_end 0.1.19 0.1.23
glob 1.1.7
html 0.14.0+2
kernel 0.3.19 0.3.23
logging 0.11.3+2
meta 1.1.7
package_config 1.1.0
path 1.6.4
pedantic 1.8.0+1
pub_semver 1.4.2
source_span 1.5.5
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
watcher 0.9.7+12
yaml 2.1.16