network_manager 0.1.21 copy "network_manager: ^0.1.21" to clipboard
network_manager: ^0.1.21 copied to clipboard

A Network Manager package based on dio for easy REST API management

16
likes
90/ 140
pub points
70%
popularity

We analyzed this package 8 hours ago, and awarded it 90 pub points (of a possible 140):

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

0/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://www.abomis.com was unreachable. Make sure that the website is reachable via HEAD requests.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

70 out of 206 API elements (34.0 %) have documentation comments.

Some symbols that are missing documentation: network_manager, network_manager.NMResponse, network_manager.NMResponse.NMResponse, network_manager.NMResponse.data, network_manager.NMResponse.isSucceed.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:network_manager/network_manager.dart that imports:
  • package:network_manager/src/asyncDio_manager.dart that imports:
  • package:archive/archive_io.dart that imports:
  • package:archive/src/io/zip_file_encoder.dart that imports:
  • package:archive/src/io/output_file_stream.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 22 issues. Showing the first 2:

WARNING: This 'onError' handler must return a value assignable to 'Response

lib/src/asyncDio_manager.dart:239:134

    ╷
239 │       Response res = await dio.post(api, data: data, cancelToken: options.globalCancelToken, options: options.option).catchError((e) {
    │                                                                                                                                      ^
    ╵

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

WARNING: This 'onError' handler must return a value assignable to 'Response

lib/src/dio_manager.dart:822:27

    ╷
822 │           .catchError((e) {
    │                           ^
    ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
archive ^3.3.2 3.4.10 3.4.10
convert ^3.1.1 3.1.1 3.1.1
dio ^5.3.0 5.4.3+1 5.4.3+1
flutter flutter 0.0.0 0.0.0
flutter_picker ^2.0.1 2.1.0 2.1.0
flutter_spinkit ^5.1.0 5.2.1 5.2.1
flutter_vector_icons ^2.0.0 2.0.0 2.0.0
intl ^0.18.0 0.18.1 0.19.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
http_parser - 4.0.2 4.0.2
js - 0.7.1 0.7.1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
pointycastle - 3.8.0 3.8.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4

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

The constraint `^0.18.0` on intl does not support the stable version `0.19.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

16
likes
90
pub points
70%
popularity

Publisher

verified publisherabomis.com

A Network Manager package based on dio for easy REST API management

Homepage

Documentation

API reference

License

MIT (LICENSE)

Dependencies

archive, convert, dio, flutter, flutter_picker, flutter_spinkit, flutter_vector_icons, intl

More

Packages that depend on network_manager