icogen 1.0.0+1

  • Readme
  • Changelog
  • Installing
  • 41

icogen #

command line iOS & Android color icons generator, icogen helps you to replace the default icons of your mobile flutter app with simple color icons.

Install #

pub global activate icogen

Use #

To replace all the default icons with a simple color icon

pub global icogen -c \#ffff00 -p path/to/your/flutter/project
  • -c hex color value ( don't forget to escape \#)
  • -p path to your flutter project

1.0.0+1 #

  • generate ios & android color icons

Use this package as an executable

1. Install it

You can install the package from the command line:


$ pub global activate icogen

2. Use it

The package has the following executables:


$ icogen

Use this package as a library

1. Depend on it

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


dependencies:
  icogen: ^1.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:icogen/constants.dart';
import 'package:icogen/icon_generator.dart';
import 'package:icogen/utils.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
98
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
60
Overall:
Weighted score of the above. [more]
41
Learn more about scoring.

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

  • Dart: 2.6.1
  • pana: 0.12.21

Platforms

Detected platforms: Flutter, other

Platform components identified in package: io.

Health issues and suggestions

Document public APIs. (-1 points)

15 out of 15 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/icon_generator.dart. (-0.50 points)

Analysis of lib/icon_generator.dart reported 1 hint:

line 26 col 32: The value of the local variable 'iconPaths' isn't used.

Fix lib/utils.dart. (-0.50 points)

Analysis of lib/utils.dart reported 1 hint:

line 5 col 1: This function has a return type of 'int', but doesn't end with a return statement.

Maintenance issues and suggestions

Support latest dependencies. (-10 points)

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency (rxdart).

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

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.3.0 <3.0.0
args ^1.5.2 1.5.2
image ^2.1.4 2.1.9
rxdart ^0.22.0 0.22.6 0.23.0-dev.2
Transitive dependencies
archive 2.0.11
charcode 1.1.2
collection 1.14.12
convert 2.1.1
crypto 2.1.3
meta 1.1.8
path 1.6.4
petitparser 2.4.0
typed_data 1.1.6
xml 3.6.0
Dev dependencies
pedantic ^1.0.0
test ^1.0.0