built_svg_path 0.0.2

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 57

built_svg_path #

Precompile Path from xml svg definition

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:
  built_svg_path: ^0.0.2

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

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

3. Import it

Now in your Dart code, you can use:


import 'package:built_svg_path/generator.dart';
import 'package:built_svg_path/model.dart';
import 'package:built_svg_path/parser.dart';
  
Version Uploaded Documentation Archive
0.0.2 Mar 17, 2019 Go to the documentation of built_svg_path 0.0.2 Download built_svg_path 0.0.2 archive
0.0.1 Mar 17, 2019 Go to the documentation of built_svg_path 0.0.1 Download built_svg_path 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
24
Health:
Code health derived from static analysis. [more]
98
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
76
Overall:
Weighted score of the above. [more]
57
Learn more about scoring.

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

  • Dart: 2.2.0
  • pana: 0.12.14

Platforms

Detected platforms: Flutter, other

Platform components identified in package: io.

Health issues and suggestions

Document public APIs. (-1 points)

50 out of 50 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/parser.dart. (-1 points)

Analysis of lib/parser.dart reported 2 hints:

line 34 col 47: Use isNotEmpty for Iterables and Maps.

line 98 col 13: Use isNotEmpty instead of length

Format bin/built_svg_path.dart.

Run dartfmt to format bin/built_svg_path.dart.

Format lib/generator.dart.

Run dartfmt to format lib/generator.dart.

Format lib/model.dart.

Run dartfmt to format lib/model.dart.

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

The package description is too short. (-4 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.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
args ^1.5.1 1.5.1
code_builder ^3.1.3 3.2.0
dart_style ^1.2.0 1.2.7
path_parsing ^0.1.3 0.1.3
recase ^2.0.0 2.0.1
source_gen ^0.9.1 0.9.4+2
xml ^3.2.3 3.4.1
Transitive dependencies
analyzer 0.36.0
async 2.2.0
build 1.1.3
built_collection 4.2.0
built_value 6.4.0
charcode 1.1.2
collection 1.14.11
convert 2.1.1
crypto 2.0.6
fixnum 0.10.9
front_end 0.1.15
glob 1.1.7
kernel 0.3.15
logging 0.11.3+2
matcher 0.12.5
meta 1.1.7
package_config 1.0.5
path 1.6.2
pedantic 1.5.0
petitparser 2.2.1
pub_semver 1.4.2
quiver 2.0.3
source_span 1.5.5
stack_trace 1.9.3
string_scanner 1.0.4
term_glyph 1.1.0
typed_data 1.1.6
vector_math 2.0.8
watcher 0.9.7+10
yaml 2.1.15