flutter_nb_net 1.0.4 flutter_nb_net: ^1.0.4 copied to clipboard
A powerful HTTP package for Dart/Flutter,base on dio. which supports Global settings, Interceptors, FormData, Aborting and canceling a request, Files uploading and downloading, Requests timeout, Custo [...]
We analyzed this package 3 days ago, and awarded it 100 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description
field in your package's pubspec.yaml
file between 60 and 180 characters.
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
.
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
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 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
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 12 issues. Showing the first 2:
WARNING: Doc directive is missing a closing tag.
lib/src/net_client.dart:182:5
╷
182 │ /// {@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 parameter type of '==' operators should be non-nullable.
lib/src/result.freezed.dart:122:17
╷
122 │ bool operator ==(dynamic other) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/result.freezed.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
connectivity_plus |
^4.0.1 |
4.0.2 | 6.0.3 |
dio |
^5.3.0 |
5.4.3+1 | 5.4.3+1 |
flutter |
flutter |
0.0.0 | 0.0.0 |
freezed_annotation |
^2.4.1 |
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 `^4.0.1` on connectivity_plus does not support the stable version `5.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 8 errors:
UNDEFINED_NAMED_PARAMETER
-lib/src/result.freezed.dart:133:12
- The named parameter 'includeFromJson' isn't defined.UNDEFINED_NAMED_PARAMETER
-lib/src/result.freezed.dart:133:36
- The named parameter 'includeToJson' isn't defined.UNDEFINED_NAMED_PARAMETER
-lib/src/result.freezed.dart:188:12
- The named parameter 'includeFromJson' isn't defined.
Run flutter pub downgrade
and then flutter analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.7
, Flutter 3.22.2
, Dart 3.4.3
.
Check the analysis log for details.