built_mirrors_core 0.10.6

  • Readme
  • Changelog
  • Installing
  • 53

built_mirrors_core #

Core libraries of built_mirrors

0.10.6 #

  • set analyzer to version >=0.36.0 <1.0.0

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.6

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]
15
Health:
Code health derived from static analysis. [more]
92
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
53
Learn more about scoring.

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

  • Dart: 2.6.1
  • pana: 0.12.21

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. (-2.96 points)

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

line 21 col 23: Unnecessary new keyword.

line 22 col 21: Unnecessary new keyword.

line 23 col 24: Unnecessary new keyword.

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.

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

Analysis of lib/annotations.dart reported 2 hints:

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

line 15 col 33: Avoid const keyword.

Fix lib/mirrors_generator.dart. (-1 points)

Analysis of lib/mirrors_generator.dart reported 2 hints:

line 184 col 16: Unnecessary new keyword.

line 192 col 12: Unnecessary new keyword.

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

Analysis of lib/scanners.dart reported 1 hint:

line 100 col 92: Unnecessary new keyword.

Maintenance suggestions

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 <1.0.0 0.39.2
build ^1.0.1 1.2.2
source_gen ^0.9.0 0.9.4+6
Transitive dependencies
_fe_analyzer_shared 1.0.1
args 1.5.2
async 2.4.0
charcode 1.1.2
collection 1.14.12
convert 2.1.1
crypto 2.1.4
csslib 0.16.1
dart_style 1.3.3
glob 1.2.0
html 0.14.0+3
js 0.6.1+1
logging 0.11.3+2
meta 1.1.8
node_interop 1.0.3
node_io 1.0.1+2
package_config 1.1.0
path 1.6.4
pedantic 1.9.0
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+13
yaml 2.2.0