viva_network_kit 2.1.8 copy "viva_network_kit: ^2.1.8" to clipboard
viva_network_kit: ^2.1.8 copied to clipboard

A lightweight and developer-friendly network manager for Flutter, built on Dio, with automatic connectivity checks before every API request.

130/ 160
pub points
8
downloads

We analyzed this package 3 days ago, and awarded it 130 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Could not find any pubspec.yaml in the repository.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: viva_network_kit,
    • contains a version property, and,
    • does not contain a publish_to property.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

16 out of 48 API elements (33.3 %) have documentation comments.

Some symbols that are missing documentation: viva_network_kit, viva_network_kit.ConectivityChecker.isConnected, viva_network_kit.ConnectionError, viva_network_kit.ConnectionError.ConnectionError.new, viva_network_kit.ConnectionError.errorCode.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:viva_network_kit/viva_network_kit.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:viva_network_kit/viva_network_kit.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `Windows`.

Because:

  • package:viva_network_kit/viva_network_kit.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `macOS`.

Because:

  • package:viva_network_kit/viva_network_kit.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: Missing type annotation.

lib/src/dio_simple_serializer.dart:14:3

   ╷
14 │   addParser<SingleItemType>(JsonParser<SingleItemType> jsonParser) {
   │   ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/dio_simple_serializer.dart

  • Running dart format failed:
Formatted 24 files (0 changed) in 0.05 seconds.
Warning: Package resolution error when reading "analysis_options.yaml" file:
Failed to resolve package URI "package:flutter_lints/flutter.yaml" in include.
Warning: Package resolution error when reading "analysis_options.yaml" file:
Failed to resolve package URI "package:flutter_lints/flutter.yaml" in include.
Warning: Package resolution error when reading "analysis_options.yaml" file:
Failed to resolve package URI "package:flutter_lints/flutter.yaml" in include.
Warning: Package resolution error when reading "analysis_options.yaml" file:
Failed to resolve package URI "package:flutter_lints/flutter.yaml" in include.
Warning: Package resolution error when reading "analysis_options.yaml" file:```
Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
built_collection ^5.1.1 5.1.1 5.1.1
built_value ^8.9.5 8.12.3 8.12.3
connectivity_plus ^6.1.3 6.1.5 7.0.0
dartz ^0.10.1 0.10.1 0.10.1
dio ^5.8.0+1 5.9.0 5.9.0
get_it ^8.0.3 8.3.0 9.2.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
connectivity_plus_platform_interface - 2.0.1 2.0.1
dbus - 0.7.11 0.7.11
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.1.5 2.1.5
fixnum - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.18.0
mime - 2.0.0 2.0.0
nm - 0.5.0 0.5.0
path - 1.9.1 1.9.1
petitparser - 7.0.1 7.0.1
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
xml - 6.6.1 6.6.1

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

The constraint `^6.1.3` on connectivity_plus does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions connectivity_plus to update the constraint.

The constraint `^8.0.3` on get_it does not support the stable version `9.0.0`.

Try running dart pub upgrade --major-versions get_it to update the constraint.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.5, Flutter 3.38.6, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
130
points
8
downloads

Publisher

verified publishervivasoftltd.com

Weekly Downloads

A lightweight and developer-friendly network manager for Flutter, built on Dio, with automatic connectivity checks before every API request.

Topics

#dio #http #connectivity

Documentation

API reference

License

MIT (license)

Dependencies

built_collection, built_value, connectivity_plus, dartz, dio, flutter, get_it

More

Packages that depend on viva_network_kit