flutter_dio_module 1.2.4
flutter_dio_module: ^1.2.4 copied to clipboard
Plug-in contains cache interceptor, can automatically cache network data, support abstract parsing objects, support Response object interception processing
We analyzed this package 47 hours ago, and awarded it 70 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
1014 out of 1344 API elements (75.4 %) have documentation comments.
Some symbols that are missing documentation: BaseBean, BaseBean.BaseBean, BaseBean.BaseBean.BaseBean.fromJson, BaseBean.BaseBean.BaseBean.fromJsonFactory, BaseBean.BaseBean.BaseBean.new.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:flutter_dio_module/com/flutter/http/NetworkManager.dartthat imports:package:flutter_dio_module/com/flutter/http/cacheUtils/CacheInterceptor.dartthat imports:package:flutter_dio_module/com/flutter/http/cacheUtils/CacheInterceptorInterface.dartthat imports:package:flutter_dio_module/lib_dio.dartthat imports:package:flutter_dio_module/generated/json/base/base_convert.g.dartthat imports:package:flutter_dio_module/com/flutter/http/bean/BaseBean.dartthat imports:package:flutter_dio_module/com/flutter/http/RxDioConfig.dartthat imports:package:flutter_dio_module/com/flutter/http/utils/DatabaseSql.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:flutter_dio_module/com/flutter/http/NetworkManager.dartthat imports:package:flutter_dio_module/com/flutter/http/cacheUtils/CacheInterceptor.dartthat imports:package:flutter_dio_module/com/flutter/http/cacheUtils/CacheInterceptorInterface.dartthat imports:package:flutter_dio_module/lib_dio.dartthat imports:package:flutter_dio_module/generated/json/base/base_convert.g.dartthat imports:package:flutter_dio_module/com/flutter/http/bean/BaseBean.dartthat imports:package:flutter_dio_module/com/flutter/http/RxDioConfig.dartthat imports:package:flutter_dio_module/com/flutter/http/utils/DatabaseSql.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Web`.
Because:
package:flutter_dio_module/com/flutter/http/NetworkManager.dartthat imports:package:flutter_dio_module/com/flutter/http/cacheUtils/CacheInterceptor.dartthat imports:package:flutter_dio_module/com/flutter/http/cacheUtils/CacheInterceptorInterface.dartthat imports:package:flutter_dio_module/lib_dio.dartthat imports:package:flutter_dio_module/generated/json/base/base_convert.g.dartthat imports:package:flutter_dio_module/com/flutter/http/bean/BaseBean.dartthat imports:package:flutter_dio_module/com/flutter/http/RxDioConfig.dartthat imports:package:flutter_dio_module/com/flutter/http/utils/DatabaseSql.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 34 issues. Showing the first 2:
ERROR: The getter 'headline4' isn't defined for the type 'TextTheme'.
lib/main.dart:146:54
╷
146 │ style: Theme.of(context).textTheme.headline4,
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/main.dart
INFO: The file name 'Constants.dart' isn't a lower_case_with_underscores identifier.
To reproduce make sure you are using the lints_core and run flutter analyze lib/com/app,data/Constants.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
connectivity |
^3.0.6 |
3.0.6 | 3.0.6 | Discontinued |
convert |
^3.0.1 |
3.1.2 | 3.1.2 | |
crypto |
^3.0.1 |
3.0.7 | 3.0.7 | |
cupertino_icons |
^1.0.2 |
1.0.8 | 1.0.8 | |
dio |
^4.0.4 |
4.0.6 | 5.9.1 | |
json_annotation |
^4.4.0 |
4.10.0 | 4.10.0 | |
path |
^1.8.0 |
1.9.1 | 1.9.1 | |
rxdart |
^0.27.3 |
0.27.7 | 0.28.0 | |
sqflite |
^2.0.2 |
2.4.2 | 2.4.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_for_web |
- | 0.4.0+1 | 0.4.0+1 | Discontinued |
connectivity_macos |
- | 0.2.1+2 | 0.2.1+2 | |
connectivity_platform_interface |
- | 2.0.1 | 2.0.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sqflite_android |
- | 2.4.2+2 | 2.4.2+2 | |
sqflite_common |
- | 2.5.6 | 2.5.6 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^4.0.4` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio to update the constraint.
The constraint `^0.27.3` on rxdart does not support the stable version `0.28.0`.
Try running dart pub upgrade --major-versions rxdart 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 1 error:
UNDEFINED_GETTER-lib/main.dart:146:54- The getter 'headline4' isn't defined for the type 'TextTheme'.
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.23.8, Flutter 3.38.8, Dart 3.10.7.
Check the analysis log for details.