flutter_nb_net 0.0.6 copy "flutter_nb_net: ^0.0.6" to clipboard
flutter_nb_net: ^0.0.6 copied to clipboard

A powerful HTTP package for Dart/Flutter,base on dio.

14
likes
100/ 160
pub points
74%
popularity

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

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

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

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

282 out of 399 API elements (70.7 %) have documentation comments.

Some symbols that are missing documentation: browser, flutter_nb_net, flutter_nb_net.BaseNetModel.fromJson, flutter_nb_net.BaseOptions.contentType, flutter_nb_net.BaseOptions.extra.

10/10 points: Package has an example

failed
Platform support
0 / 20trigger folding of the section

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

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:flutter_nb_net/browser.dart that imports:
  • package:dio/browser.dart that imports:
  • package:dio/src/dio/dio_for_browser.dart that imports:
  • package:dio/src/adapters/browser_adapter.dart that imports:
  • dart:html
Package not compatible with platform iOS

Because:

  • package:flutter_nb_net/browser.dart that imports:
  • package:dio/browser.dart that imports:
  • package:dio/src/dio/dio_for_browser.dart that imports:
  • package:dio/src/adapters/browser_adapter.dart that imports:
  • dart:html
Package not compatible with platform Windows

Because:

  • package:flutter_nb_net/browser.dart that imports:
  • package:dio/browser.dart that imports:
  • package:dio/src/dio/dio_for_browser.dart that imports:
  • package:dio/src/adapters/browser_adapter.dart that imports:
  • dart:html
Package not compatible with platform Linux

Because:

  • package:flutter_nb_net/browser.dart that imports:
  • package:dio/browser.dart that imports:
  • package:dio/src/dio/dio_for_browser.dart that imports:
  • package:dio/src/adapters/browser_adapter.dart that imports:
  • dart:html
Package not compatible with platform macOS

Because:

  • package:flutter_nb_net/browser.dart that imports:
  • package:dio/browser.dart that imports:
  • package:dio/src/dio/dio_for_browser.dart that imports:
  • package:dio/src/adapters/browser_adapter.dart that imports:
  • dart:html
Package not compatible with platform Web

Because:

  • package:flutter_nb_net/io.dart that imports:
  • package:dio/io.dart that imports:
  • package:dio/src/dio/dio_for_native.dart that imports:
  • package:dio/src/adapters/io_adapter.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 19 issues. Showing the first 2:

WARNING: Doc directive is missing a closing tag.

lib/src/net_client.dart:176:5

    ╷
176 │ /// {@template dio.Dio.download}
    │     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

WARNING: The member 'checkOptions' can only be used within its package.

lib/src/net_client.dart:230:25

    ╷
230 │       options: DioMixin.checkOptions(method, options),
    │                         ^^^^^^^^^^^^
    ╵

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
connectivity_plus ^3.0.3 3.0.6 6.0.3
dio ^5.1.1 5.4.3+1 5.4.3+1
flutter flutter 0.0.0 0.0.0
freezed_annotation ^2.2.0 2.4.1 2.4.1
pretty_dio_logger ^1.3.1 1.3.1 1.3.1
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
collection - 1.18.0 1.19.0
connectivity_plus_platform_interface - 1.2.4 2.0.0
dbus - 0.7.10 0.7.10
ffi - 2.1.2 2.1.2
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.1.0
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.0
nm - 0.5.0 0.5.0
path - 1.9.0 1.9.0
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
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
xml - 6.5.0 6.5.0

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

The constraint `^3.0.3` on connectivity_plus does not support the stable version `4.0.0`.

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.7, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.

14
likes
100
pub points
74%
popularity

Publisher

unverified uploader

A powerful HTTP package for Dart/Flutter,base on dio.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

connectivity_plus, dio, flutter, freezed_annotation, pretty_dio_logger

More

Packages that depend on flutter_nb_net