http2 2.0.0
http2: ^2.0.0 copied to clipboard

Dart native
Flutter Android iOS Linux macOS Windows

A HTTP/2 implementation in Dart.

80 / 110
pub points
96 %

We analyzed this package on Mar 3, 2021, and awarded it 80 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

5/5 points: Provide a valid

Provide documentation
10 / 20

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 43 out of 80 API elements (53.8 %) have documentation comments.
Support multiple platforms
10 / 20

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

Consider supporting multiple platforms:

Package not compatible with runtime js


  • package:http2/http2.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
30 / 30

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

Support up-to-date dependencies
20 / 20

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

No dependencies.

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

Support sound null-safety
0 / 0

0/0 points: Package and dependencies are fully migrated to null-safety, and will be awarded additional points in a planned future revision of the points model.

Analysed with Pana 0.15.3, Dart 2.12.0.

pub points


A HTTP/2 implementation in Dart.

Repository (GitHub)
View/report issues


API reference




Packages that depend on http2