functional_data_generator 0.2.5

functional_data_generator #

Code generator for the functional_data package.

0.2.5 #

  • Support function-type fields
  • Support static const fields

0.2.4 #

  • Relax version dependency on analyzer

0.2.3 #

  • Support types from prefixed imports

0.2.2 #

  • Add link to documentation of function_data package in README

0.2.1 #

  • Add changelog
  • Format code
  • Add description

0.2.0 #

  • First published version

Use this package as a library

1. Depend on it

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


dependencies:
  functional_data_generator: ^0.2.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:functional_data_generator/builder.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
61
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
80
Overall:
Weighted score of the above. [more]
76
Learn more about scoring.

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

  • Dart: 2.5.0
  • pana: 0.12.21

Platforms

Detected platforms: other

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

Health suggestions

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

Analysis of lib/builder.dart reported 2 hints:

line 38 col 5: DO use curly braces for all flow control structures.

line 43 col 5: DO use curly braces for all flow control structures.

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 functional_data_generator.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.68.0 <3.0.0
analyzer >=0.34.0 <0.37.0 0.36.4 0.38.3
build ^1.0.2 1.1.6
collection ^1.14.11 1.14.12
functional_data >=0.2.0 <0.3.0 0.2.3
source_gen ^0.9.2 0.9.4+4
Transitive dependencies
args 1.5.2
async 2.3.0
charcode 1.1.2
convert 2.1.1
crypto 2.1.3
csslib 0.16.1
dart_style 1.2.9 1.2.10
front_end 0.1.19 0.1.25
glob 1.1.7
html 0.14.0+2
kernel 0.3.19 0.3.25
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.2.0
Dev dependencies
build_runner any