architecture_generator 0.0.1

  • Readme
  • Changelog
  • Installing
  • 39

architecture_generator #

The Flutter package supported for generate Mobile Architecture Component source code.

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:
  architecture_generator: ^0.0.1

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or 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:architecture_generator/architecture_generator.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
96
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
50
Overall:
Weighted score of the above. [more]
39
Learn more about scoring.

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

  • Dart: 2.5.1
  • pana: 0.12.21

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:architecture_generator/architecture_generator.dart.

Health issues and suggestions

Document public APIs. (-1 points)

8 out of 8 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Fix lib/src/common/class_generator.dart. (-2.48 points)

Analysis of lib/src/common/class_generator.dart reported 5 hints:

line 80 col 9: Use isNotEmpty instead of length

line 90 col 9: Use isNotEmpty instead of length

line 105 col 9: Use isNotEmpty instead of length

line 131 col 9: Use isNotEmpty instead of length

line 140 col 9: Use isNotEmpty instead of length

Fix lib/src/screen_widget_generator.dart. (-0.50 points)

Analysis of lib/src/screen_widget_generator.dart reported 1 hint:

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

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, analyzer_plugin, build_config).

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 architecture_generator.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.33.3 0.33.6+1 0.38.5
analyzer_plugin ^0.0.1-alpha.5 0.0.1-alpha.5 0.2.1
architecture_component >=0.0.1 <1.0.0 0.0.1
build ^1.0.0 1.1.0 1.2.0
build_config ^0.3.1 0.3.2 0.4.1+1
quiver >=0.21.0 <3.0.0 2.0.5
source_gen ^0.9.0 0.9.4+1 0.9.4+5
Transitive dependencies
args 1.5.2
async 2.4.0
charcode 1.1.2
checked_yaml 1.0.2
collection 1.14.11 1.14.12
convert 2.1.1
crypto 2.1.3
csslib 0.15.0 0.16.1
dart_style 1.2.0 1.3.1
flutter 0.0.0
front_end 0.1.6+9 0.1.27
glob 1.2.0
html 0.13.4+2 0.14.0+3
js 0.6.1+1
json_annotation 2.4.0 3.0.0
kernel 0.3.6+9 0.3.27
logging 0.11.3+2
matcher 0.12.5
meta 1.1.7
node_interop 1.0.3
node_io 1.0.1+2
package_config 1.1.0
path 1.6.4
pedantic 1.8.0+1
plugin 0.2.0+3
pub_semver 1.4.2
pubspec_parse 0.1.5
sky_engine 0.0.99
source_span 1.5.5
stack_trace 1.9.3
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
utf 0.9.0+5
vector_math 2.0.8
watcher 0.9.7+12
yaml 2.2.0
Dev dependencies
build_runner ^1.0.0
build_test ^0.10.3
test ^1.0.0