kronos 0.0.2
kronos: ^0.0.2

Flutter Android iOS

A new Flutter package project.

0
likes
60 / 110
pub points
12 %
popularity

We analyzed this package on Nov 24, 2020, and awarded it 60 pub points (of a possible 110):

Follow Dart file conventions
10 / 20

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

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.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
0 / 20

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 0 out of 24 API elements (0.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Support multiple platforms
10 / 20

10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)

Consider supporting multiple platforms:

Package not compatible with runtime flutter-web on Web

Because:

  • package:kronos/kronos.dart that imports:
  • package:grpc/grpc.dart that imports:
  • package:grpc/src/shared/streams.dart that imports:
  • package:http2/transport.dart that imports:
  • package:http2/src/hpack/hpack.dart that imports:
  • package:http2/src/hpack/huffman_table.dart that imports:
  • package:http2/src/hpack/huffman.dart that imports:
  • dart:io
Pass static analysis
20 / 30

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

Found 54 issues. Showing the first 2:

INFO: 'copyWith' is deprecated and shouldn't be used. Using this can add significant size overhead to your binary. Use [GeneratedMessageGenericExtensions.rebuild] instead. Will be removed in next major version.

lib/src/generated/node.pb.dart:36:67

   ╷
36 │   P2PRequest copyWith(void Function(P2PRequest) updates) => super.copyWith((message) => updates(message as P2PRequest));
   │                                                                   ^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/src/generated/node.pb.dart

INFO: 'copyWith' is deprecated and shouldn't be used. Using this can add significant size overhead to your binary. Use [GeneratedMessageGenericExtensions.rebuild] instead. Will be removed in next major version.

lib/src/generated/node.pb.dart:142:69

    ╷
142 │   P2PResponse copyWith(void Function(P2PResponse) updates) => super.copyWith((message) => updates(message as P2PResponse));
    │                                                                     ^^^^^^^^
    ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/src/generated/node.pb.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
fixnum^0.10.110.10.110.10.11
grpc^2.1.32.8.02.8.0
protobuf^1.0.11.1.01.1.0
Transitive dependencies
PackageConstraintCompatibleLatest
async-2.4.22.5.0-nullsafety.3
characters-1.1.0-nullsafety.51.1.0-nullsafety.5
charcode-1.1.31.2.0-nullsafety.3
collection-1.15.0-nullsafety.51.15.0-nullsafety.5
convert-2.1.12.1.1
crypto-2.1.52.1.5
googleapis_auth-0.2.120.2.12
http-0.12.20.12.2
http2-1.0.11.0.1
http_parser-3.1.43.1.4
meta-1.3.0-nullsafety.61.3.0-nullsafety.6
path-1.7.01.8.0-nullsafety.3
pedantic-1.9.21.9.2
source_span-1.7.01.8.0-nullsafety.4
string_scanner-1.0.51.1.0-nullsafety.3
term_glyph-1.1.01.2.0-nullsafety.3
typed_data-1.3.0-nullsafety.51.3.0-nullsafety.5
vector_math-2.1.0-nullsafety.52.1.0-nullsafety.5

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

0
likes
60
pub points
12%
popularity

A new Flutter package project.

Homepage

Documentation

API reference

Uploader

aidanmccomas2@gmail.com

License

BSD (LICENSE)

Dependencies

fixnum, flutter, grpc, protobuf

More

Packages that depend on kronos