jetutil 0.0.1

  • README.md
  • Installing
  • Versions
  • 18

jetutil.dart

A collection of utility function.

Use this package as a library

1. Depend on it

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


dependencies:
  jetutil: "^0.0.1"

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:jetutil/jetutil.dart';
  
Version Uploaded Documentation Archive
0.0.1 Sep 1, 2016 Go to the documentation of jetutil 0.0.1 Download jetutil 0.0.1 archive

Analysis

We analyzed this package on Jun 19, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3

Scores

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

Platforms

Detected platforms: Flutter, web, other

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

Suggestions

  • Maintain CHANGELOG.md.

    Changelog entries help clients to follow the progress in your code.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 19 errors 6 hints.

    Strong-mode analysis of lib/src/iterable.dart failed with the following error:

    line: 68 col: 41
    Couldn't infer type parameter 'T'.\n\nTried to infer 'dynamic' for 'T' which doesn't work:\n Type parameter 'T' declared to extend 'num'.\nThe type 'dynamic' was inferred from:\n Function type declared as '<T extends num>(T, T) → T'\n used where '(dynamic, dynamic) → dynamic' is required.\n\nConsider passing explicit type argument(s) to the generic.\n\n

    Strong-mode analysis of lib/src/numeric.dart failed with the following error:

    line: 3 col: 16
    Couldn't infer type parameter 'T'.\n\nTried to infer 'dynamic' for 'T' which doesn't work:\n Type parameter 'T' declared to extend 'num'.\nThe type 'dynamic' was inferred from:\n Parameter 'a' declared as 'T'\n but argument is 'dynamic'.\n Parameter 'b' declared as 'T'\n but argument is 'dynamic'.\n\nConsider passing explicit type argument(s) to the generic.\n\n

    Similar analysis of the following files failed:

    • lib/src/prime.dart (error)
    • lib/jetutil.dart (hint)
    • lib/src/io/ByteListReader.dart (hint)
    • lib/src/predicate.dart (hint)
  • Package is getting outdated.

    The package was released 93 weeks ago.

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use jetutil.dart.

Dependencies

Package Constraint Resolved Available
Dev dependencies
test