treebuildermvc 0.0.2

treebuildermvc #

A new Flutter package project.

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

[0.0.1] - TODO: Add release date.

  • TODO: Describe initial release.

Use this package as a library

1. Depend on it

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


dependencies:
  treebuildermvc: ^0.0.2

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:


import 'package:treebuildermvc/treebuildermvc.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
57
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
40
Overall:
Weighted score of the above. [more]
25
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
  • Flutter: 1.7.8+hotfix.4

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Fix lib/treebuilder/treenodes.dart. (-25.97 points)

Analysis of lib/treebuilder/treenodes.dart reported 60 hints, including:

line 36 col 12: Set literals weren't supported until version 2.2, but this code must be able to run on earlier versions.

line 40 col 14: Name non-constant identifiers using lowerCamelCase.

line 46 col 41: Set literals weren't supported until version 2.2, but this code must be able to run on earlier versions.

line 49 col 42: Set literals weren't supported until version 2.2, but this code must be able to run on earlier versions.

line 82 col 12: Set literals weren't supported until version 2.2, but this code must be able to run on earlier versions.

Fix lib/treebuilder/base.dart. (-14.39 points)

Analysis of lib/treebuilder/base.dart reported 31 hints, including:

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

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

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

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

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

Fix lib/codegenerator/generator.dart. (-2.96 points)

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

line 41 col 9: The value of the local variable 'dartfilename' isn't used.

line 43 col 9: The value of the local variable 'resolver' isn't used.

line 45 col 22: The value of the local variable 'lib' isn't used.

line 47 col 11: The value of the local variable 'libelem' isn't used.

line 69 col 3: Avoid using braces in interpolation when not needed.

Fix additional 13 files with analysis or formatting issues. (-7.46 points)

Additional issues in the following files:

  • lib/quickexpression/tokenizer.dart (5 hints)
  • lib/treebuilder/codegenerator.dart (5 hints)
  • lib/quickexpression/quickexpression.dart (2 hints)
  • lib/treebuilder/utils.dart (2 hints)
  • lib/treebuilder/flutteradaptor.dart (1 hint)
  • lib/builder.dart (Run flutter format to format lib/builder.dart.)
  • lib/codegenerator/metaobject.dart (Run flutter format to format lib/codegenerator/metaobject.dart.)
  • lib/treebuilder/controllermanager.dart (Run flutter format to format lib/treebuilder/controllermanager.dart.)
  • lib/treebuilder/expression.dart (Run flutter format to format lib/treebuilder/expression.dart.)
  • lib/treebuilder/expressionbase.dart (Run flutter format to format lib/treebuilder/expressionbase.dart.)
  • lib/treebuilder/reflector.dart (Run flutter format to format lib/treebuilder/reflector.dart.)
  • lib/treebuilder/xmlserializer.dart (Run flutter format to format lib/treebuilder/xmlserializer.dart.)
  • lib/treebuildermvc.dart (Run flutter format to format lib/treebuildermvc.dart.)

Maintenance issues and suggestions

Use constrained dependencies. (-20 points)

The pubspec.yaml contains 5 dependencies without version constraints. Specify version ranges for the following dependencies: build_runner, code_builder, quickexpression, source_gen, xml.

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

For more information see the pub package layout conventions.

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
build_runner any 1.6.7
code_builder any 3.2.0
cupertino_icons ^0.1.2 0.1.2
flutter 0.0.0
quickexpression any 1.0.5
source_gen any 0.9.4+4
xml any 3.5.0
Transitive dependencies
analyzer 0.38.1
args 1.5.2
async 2.3.0
build 1.1.6
build_config 0.4.1+1
build_daemon 2.0.0
build_resolvers 1.0.7
build_runner_core 3.0.9
built_collection 4.2.2
built_value 6.7.0
charcode 1.1.2
checked_yaml 1.0.2
collection 1.14.11 1.14.12
convert 2.1.1
crypto 2.1.2
csslib 0.16.1
dart_style 1.2.10
fixnum 0.10.9
front_end 0.1.23
glob 1.1.7
graphs 0.2.0
html 0.14.0+2
http 0.12.0+2
http_multi_server 2.1.0
http_parser 3.1.3
io 0.3.3
js 0.6.1+1
json_annotation 3.0.0
kernel 0.3.23
logging 0.11.3+2
matcher 0.12.5
meta 1.1.6 1.1.7
mime 0.9.6+3
package_config 1.1.0
package_resolver 1.0.10
path 1.6.4
pedantic 1.8.0+1
petitparser 2.4.0
pool 1.4.0
pub_semver 1.4.2
pubspec_parse 0.1.5
quiver 2.0.5
shelf 0.7.5
shelf_web_socket 0.2.3
sky_engine 0.0.99
source_span 1.5.5
stack_trace 1.9.3
stream_channel 2.0.0
stream_transform 0.0.19
string_scanner 1.0.5
term_glyph 1.1.0
timing 0.1.1+2
typed_data 1.1.6
vector_math 2.0.8
watcher 0.9.7+12
web_socket_channel 1.0.15
yaml 2.1.16
Dev dependencies
flutter_test