bloc_built 0.0.1

bloc_helper #

A new Flutter project.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

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

Use this package as a library

1. Depend on it

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


dependencies:
  bloc_built: ^0.0.1

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:bloc_built/bloc_build.dart';
import 'package:bloc_built/builder.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
59
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
10
Overall:
Weighted score of the above. [more]
20
Learn more about scoring.

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

  • Dart: 2.7.0
  • pana: 0.13.2

Health suggestions

Fix lib/src/generators/bloc_built_generator.dart. (-15.25 points)

Analysis of lib/src/generators/bloc_built_generator.dart reported 33 hints, including:

line 1 col 8: Unused import: 'dart:async'.

line 2 col 8: Unused import: 'dart:convert'.

line 32 col 3: The method generateForAnnotatedElement should have a return type but doesn't.

line 33 col 5: Omit type annotations for local variables.

line 33 col 18: The value of the local variable 'className' isn't used.

Fix lib/src/generators/bloc.dart. (-10.44 points)

Analysis of lib/src/generators/bloc.dart reported 22 hints, including:

line 16 col 33: Don't access members with this unless avoiding shadowing.

line 16 col 74: Don't access members with this unless avoiding shadowing.

line 18 col 34: Don't access members with this unless avoiding shadowing.

line 18 col 53: Prefer single quotes where they won't require escape sequences.

line 22 col 16: Don't access members with this unless avoiding shadowing.

Fix lib/src/helpers.dart. (-6.31 points)

Analysis of lib/src/helpers.dart reported 13 hints, including:

line 8 col 23: Prefer single quotes where they won't require escape sequences.

line 11 col 10: Prefer single quotes where they won't require escape sequences.

line 15 col 22: Prefer single quotes where they won't require escape sequences.

line 22 col 22: Prefer single quotes where they won't require escape sequences.

line 26 col 10: Prefer single quotes where they won't require escape sequences.

Fix additional 8 files with analysis or formatting issues. (-18.68 points)

Additional issues in the following files:

  • lib/src/metadata.dart (11 hints)
  • lib/src/generators/stream.dart (9 hints)
  • lib/src/generators/updade.dart (7 hints)
  • lib/src/annotations.dart (5 hints)
  • lib/src/bloc_generator.dart (3 hints)
  • lib/src/utils.dart (3 hints)
  • lib/bloc_build.dart (Run dartfmt to format lib/bloc_build.dart.)
  • lib/builder.dart (Run dartfmt to format lib/builder.dart.)

Maintenance issues and suggestions

Support latest dependencies. (-30 points)

The version constraint in pubspec.yaml does not support the latest published versions for 3 dependencies (analyzer, build_config, rxdart).

Provide a file named CHANGELOG.md. (-20 points)

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

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 bloc_built.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
analyzer >=0.32.2 <0.35.0 0.34.3 0.39.4
bloc_annotation ^0.0.2 0.0.2
build >=0.12.6 <2.0.0 1.1.0 1.2.2
build_config >=0.2.6 <0.4.0 0.3.2 0.4.1+1
code_builder ^3.1.3 3.2.1
dart_style ^1.2.2 1.2.3 1.3.3
meta ^1.1.6 1.1.8
path ^1.3.2 1.6.4
rxdart ^0.20.0 0.20.0 0.23.1
source_gen ^0.9.0 0.9.4+1 0.9.4+7
Transitive dependencies
args 1.5.2
async 2.4.0
built_collection 4.3.2
built_value 7.0.8
charcode 1.1.2
checked_yaml 1.0.2
collection 1.14.12
convert 2.1.1
crypto 2.1.4
csslib 0.16.1
fixnum 0.10.11
front_end 0.1.9+1 0.1.29
glob 1.2.0
html 0.14.0+3
js 0.6.1+1
json_annotation 2.4.0 3.0.1
kernel 0.3.9+1 0.3.29
logging 0.11.4
matcher 0.12.6
node_interop 1.0.3
node_io 1.0.1+2
package_config 1.1.0
pedantic 1.9.0
plugin 0.2.0+3
pub_semver 1.4.2
pubspec_parse 0.1.5
quiver 2.1.2+1
source_span 1.6.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+13
yaml 2.2.0
Dev dependencies
test 1.5.1+1