dio_helper 1.1.19 copy "dio_helper: ^1.1.19" to clipboard
dio_helper: ^1.1.19 copied to clipboard

using dio for api to cach data for fast pagging

3
likes
50/ 140
pub points
69%
popularity

We analyzed this package 30 hours ago, and awarded it 50 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

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: BSD-3-Clause.

failed
Provide documentation
0 / 20trigger folding of the section

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

OUT: Documenting dio_helper... Discovering libraries... ERR: dartdoc 8.0.8 (/tmp/analyzerPFNLPE/pub-cache/global_packages/dartdoc/bin/dartdoc.dart-3.3.3.snapshot) failed: fatal error: unable to locate the input directory at '/tmp/pana_VYNRGI/lib/ModaLs'. #0 PubPackageMeta.fromDir (package:dartdoc/src/package_meta.dart:215:7) #1 PubPackageMeta.fromFilename (package:dartdoc/src/package_meta.dart:202:27) #2 PackageMetaProvider.fromFilename (package:dartdoc/src/package_meta.dart:80:55) #3 PubPackageBuilder._packageMetasForFiles (package:dartdoc/src/model/package_builder.dart:205:32) #4 PubPackageBuilder._discoverLibraries (package:dartdoc/src/model/package_builder.dart:304:22)

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 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:dio_helper/dio_helper.dart that imports:
  • package:dio_helper/modals/LoadingDialog.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:dio_helper/dio_helper.dart that imports:
  • package:dio_helper/modals/LoadingDialog.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:dio_helper/dio_helper.dart that imports:
  • package:dio_helper/modals/LoadingDialog.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Web`.

Because:

  • package:dio_helper/dio_helper.dart that imports:
  • package:dio_helper/http/GenericHttp.dart that imports:
  • package:dio_helper/dio_helper/DioImports.dart that imports:
  • package:tf_dio_cache/dio_http_cache.dart that imports:
  • package:tf_dio_cache/src/manager_dio.dart that imports:
  • package:tf_dio_cache/src/core/manager.dart that imports:
  • package:sqflite/utils/utils.dart that declares support for platforms: Android, iOS, macOS.
failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 29 issues. Showing the first 2:

ERROR: Undefined name 'CustomToast'.

lib/dio_helper/DioHelperStatus.dart:280:7

    ╷
280 │       CustomToast.showToastNotification("Check Server");
    │       ^^^^^^^^^^^
    ╵

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

ERROR: Undefined name 'CustomToast'.

lib/dio_helper/DioHelperStatus.dart:290:11

    ╷
290 │           CustomToast.showToastNotification(data["msg"].toString());
    │           ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/dio_helper/DioHelperStatus.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
auto_route ^3.2.3+1 3.2.4 8.0.3
dio ^4.0.4 4.0.6 5.4.3+1
flutter flutter 0.0.0 0.0.0
flutter_spinkit ^5.1.0 5.2.1 5.2.1
fluttertoast ^8.0.8 8.2.5 8.2.5
modal_bottom_sheet ^2.0.0 2.1.2 3.0.0
shared_preferences ^2.0.13 2.2.3 2.2.3
tf_dio_cache ^1.0.1 1.0.1 1.0.2
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 67.0.0 67.0.0
analyzer - 6.4.1 6.4.1
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
build - 2.4.1 2.4.1
build_config - 1.1.1 1.1.1
characters - 1.3.0 1.3.0
charcode - 1.3.1 1.3.1
checked_yaml - 2.0.3 2.0.3
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
csslib - 1.0.0 1.0.0
dart_style - 2.3.6 2.3.6
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
flutter_web_plugins - 0.0.0 0.0.0
glob - 2.1.2 2.1.2
html - 0.15.4 0.15.4
http_parser - 4.0.2 4.0.2
json_annotation - 4.8.1 4.8.1
json_serializable - 6.7.1 6.7.1
logging - 1.2.0 1.2.0
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
package_config - 2.1.0 2.1.0
path - 1.9.0 1.9.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.1.4 2.1.4
pubspec_parse - 1.2.3 1.2.3
quiver - 3.2.1 3.2.1
shared_preferences_android - 2.2.2 2.2.2
shared_preferences_foundation - 2.3.5 2.3.5
shared_preferences_linux - 2.3.2 2.3.2
shared_preferences_platform_interface - 2.3.2 2.3.2
shared_preferences_web - 2.3.0 2.3.0
shared_preferences_windows - 2.3.2 2.3.2
sky_engine - 0.0.99 0.0.99
source_gen - 1.5.0 1.5.0
source_helper - 1.3.4 1.3.4
source_span - 1.10.0 1.10.0
sqflite - 2.3.3 2.3.3
sqflite_common - 2.5.4 2.5.4
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
synchronized - 3.1.0+1 3.1.0+1
term_glyph - 1.2.1 1.2.1
test_api - 0.7.0 0.7.1
typed_data - 1.3.2 1.3.2
universal_html - 2.2.4 2.2.4
universal_io - 2.2.2 2.2.2
vector_math - 2.1.4 2.1.4
watcher - 1.1.0 1.1.0
web - 0.5.1 0.5.1
win32 - 5.4.0 5.4.0
xdg_directories - 1.0.4 1.0.4
yaml - 3.1.2 3.1.2

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

Found 3 issues. Showing the first 2:

The constraint `^3.2.3+1` on auto_route does not support the stable version `4.0.0`.

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

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.

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.