assets_generator 1.1.1

assets_generator #

auto generate assets configs in yaml.

Usage #

Import #


dev_dependencies:
  assets_generator: ^1.1.1 

Prepare the Environment #

you need to add pub bin path into your system path.

PlatformCache location
macOS or Linux$HOME/.pub-cache/bin
Windows*%APPDATA%\Pub\Cache\bin

pub global

Execute Command #

  • pub global activate assets_generator

  • assets_generator path=xxxx type=0

ParameterDescriptionDefault
pathyour project pathcurrent directory
Windows*0 = directory ; 1 = file0

1.1.1 #

  • Handle yaml has no assets node

1.0.0 #

  • Initial version, created by Stagehand

example/README.md

example #

A new Flutter application.

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 an executable

1. Install it

You can install the package from the command line:


$ pub global activate assets_generator

2. Use it

The package has the following executables:


$ assets_generator

Use this package as a library

1. Depend on it

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


dependencies:
  assets_generator: ^1.1.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:assets_generator/assets_generator.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
50
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

Platforms

Detected platforms: other

Primary library: package:assets_generator/assets_generator.dart with components: io, build, mirrors.

Health issues and suggestions

Document public APIs. (-1 points)

6 out of 6 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.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
build_runner_core ^3.0.0 3.0.9
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_resolvers 1.0.7
charcode 1.1.2
checked_yaml 1.0.2
collection 1.14.12
convert 2.1.1
crypto 2.1.2
csslib 0.16.1
front_end 0.1.23
glob 1.1.7
graphs 0.2.0
html 0.14.0+2
json_annotation 3.0.0
kernel 0.3.23
logging 0.11.3+2
meta 1.1.7
package_config 1.1.0
path 1.6.4
pool 1.4.0
pub_semver 1.4.2
pubspec_parse 0.1.5
source_span 1.5.5
stack_trace 1.9.3
string_scanner 1.0.5
term_glyph 1.1.0
timing 0.1.1+2
typed_data 1.1.6
watcher 0.9.7+12
yaml 2.1.16
Dev dependencies
pedantic ^1.0.0 1.8.0+1
test ^1.0.0