instant 0.3.2

Dart native js
Flutter Android iOS web

A package that exports functions for converting, formatting, and nicening of dates/times in Dart.

10
likes
90 / 110
pub points
79 %
popularity

We analyzed this package on Sep 25, 2020, and awarded it 90 pub points (of a possible 110):

Follow Dart file conventions
10 / 20

0/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://aditya-kishore.gitbook.io/instant/ was unreachable.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/instant_example.dart

10/10 points: 20% or more of the public API has dartdoc comments

  • 53 out of 53 API elements (100.0 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 6 issues. Showing the first 2:

INFO: Two keys in a map literal shouldn't be equal.

lib/src/timezone.dart:37:3

   ╷
37 │   'BST': 1,
   │   ^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/timezone.dart

INFO: Two keys in a map literal shouldn't be equal.

lib/src/timezone.dart:47:3

   ╷
47 │   'CST': -6,
   │   ^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/timezone.dart

Support up-to-date dependencies
20 / 20

10/10 points: All of the package dependencies are supported in the latest version

PackageConstraintCompatibleLatest
meta^1.1.71.2.31.2.3

To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

10
likes
90
pub points
79%
popularity

Publisher

kishoredev.live

A package that exports functions for converting, formatting, and nicening of dates/times in Dart.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

AGPL 3.0 (LICENSE.txt)

Dependencies

meta

More

Packages that depend on instant