icapps_license 0.0.6

  • Readme
  • Changelog
  • Example
  • Installing
  • 72

flutter icapps license #

A dart package to download the licenses for al the packages used.

pub package

Setup #

Add dependency to pubspec #

pub package

dev-dependencies:
  icapps_license: <latest-version>

Run package with Flutter #

flutter packages pub run icapps_license

Run package with Dart #

pub run icapps_license

Working on mac? #

add this to you .bash_profile

flutterlicense(){
 flutter packages get && flutter packages pub run icapps_license
}

now you can use the icapps license with a single command.

flutterlicense

Changelog #

[0.0.6] - 2020-01-08 #

Fixed #

-False positive when a repository is defined

[0.0.5] - 2020-01-08 #

Added #

-Url to pub.dev to make sure it is easy to find missing licenses

[0.0.4] - 2020-01-08 #

Added #

-Better docs en example

[0.0.3] - 2020-01-08 #

Fixed #

-Fixed a null pointer exception

[0.0.2] - 2020-01-08 #

Fixed #

-Fixed a bug where the repository was never used to detect the license

[0.0.1] - 2020-01-07 #

Added #

-Initial release

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:icapps_license_example/app.dart';
import 'package:icapps_license_example/di/injector.dart' as kiwi;

Future<void> main() async {
  kiwi.setupDependencyTree();
  runApp(MyApp());
}

Use this package as a library

1. Depend on it

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


dependencies:
  icapps_license: ^0.0.6

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.

Popularity:
Describes how popular the package is relative to other packages. [more]
52
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
80
Overall:
Weighted score of the above. [more]
72
Learn more about scoring.

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

  • Dart: 2.8.4
  • pana: 0.13.15

Analysis suggestions

Binary only

Cannot assign flutter SDK tag because it is binary only

Binary only

Cannot assign flutter platform tags, it is a binary only package

Health suggestions

Fix bin/icapps_license.dart. (-0.50 points)

Analysis of bin/icapps_license.dart reported 1 hint:

line 4 col 8: Unused import: 'package:http/http.dart'.

Maintenance issues and suggestions

Make sure dartdoc successfully runs on your package's source files. (-10 points)

exitCode: 255 stdout: Documenting icapps_license... Initialized dartdoc with 37 libraries in 33.2 seconds Validating docs... no issues found Documented 0 public libraries in 7.2 seconds stderr: Unhandled exception: dartdoc could not find any libraries to document #0 Dartdoc.generateDocs (package:dartdoc/dartdoc.dart:218:9)

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.7.0 <3.0.0
http ^0.12.0+4 0.12.1
path ^1.6.4 1.7.0
yaml ^2.2.0 2.2.1
Transitive dependencies
charcode 1.1.3
collection 1.14.13 1.15.0-nullsafety
http_parser 3.1.4
meta 1.2.2 1.3.0-nullsafety
pedantic 1.9.2
source_span 1.7.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.2.0 1.3.0-nullsafety
Dev dependencies
test ^1.9.4