cache_service 1.0.3 copy "cache_service: ^1.0.3" to clipboard
cache_service: ^1.0.3 copied to clipboard

Cache Service is a Flutter package that efficiently caches images and PDFs, including in-memory caching, to reduce load times and resource use for a smoother app experience.

13
likes
150/ 160
pub points
113
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

48 out of 59 API elements (81.4 %) have documentation comments.

Some symbols that are missing documentation: cache_service.CacheConfig.CacheConfig.new, cache_service.CacheConfig.copyWith, cache_service.CacheConfig.toJson, cache_service.CacheConfig.toMap, cache_service.CacheService.CacheService.new.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:cache_service/cache_service.dart that imports:
  • package:cache_service/src/services/cache_services/widgets/pdf/cache_pdf_provider.dart that imports:
  • package:syncfusion_flutter_pdfviewer/pdfviewer.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:cache_service/cache_service.dart that imports:
  • package:cache_service/src/services/cache_services/widgets/pdf/cache_pdf_provider.dart that imports:
  • package:syncfusion_flutter_pdfviewer/pdfviewer.dart that imports:
  • package:syncfusion_flutter_pdfviewer/src/pdfviewer.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:cache_service/cache_service.dart that imports:
  • package:cache_service/src/services/cache_services/widgets/pdf/cache_pdf_provider.dart that imports:
  • package:syncfusion_flutter_pdfviewer/pdfviewer.dart that imports:
  • package:syncfusion_flutter_pdfviewer/src/pdfviewer.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:cache_service/cache_service.dart that imports:
  • package:cache_service/src/services/cache_services/widgets/pdf/cache_pdf_provider.dart that imports:
  • package:syncfusion_flutter_pdfviewer/pdfviewer.dart that imports:
  • package:syncfusion_flutter_pdfviewer/src/pdfviewer.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package not compatible with platform Web

Because:

  • package:cache_service/cache_service.dart that imports:
  • package:cache_service/src/services/cache_services/widgets/pdf/cache_pdf_provider.dart that imports:
  • package:syncfusion_flutter_pdfviewer/pdfviewer.dart that imports:
  • package:syncfusion_flutter_pdfviewer/src/pdfviewer.dart that imports:
  • package:syncfusion_flutter_pdfviewer/src/text_extraction/text_extraction.dart that imports:
  • dart:isolate

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:cache_service/cache_service.dart that imports:
  • package:cache_service/src/services/cache_services/widgets/pdf/cache_pdf_provider.dart that imports:
  • package:syncfusion_flutter_pdfviewer/pdfviewer.dart that imports:
  • package:syncfusion_flutter_pdfviewer/src/pdfviewer.dart that imports:
  • package:syncfusion_flutter_pdfviewer/src/text_extraction/text_extraction.dart that imports:
  • dart:isolate

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest Notes
crypto ^3.0.3 3.0.6 3.0.6
dio ^5.5.0+1 5.8.0+1 5.8.0+1
hive_flutter ^1.1.0 1.1.0 1.1.0
logger ^2.4.0 2.6.0 2.6.0
provider ^6.1.2 6.1.5 6.1.5
shimmer ^3.0.0 3.0.0 3.0.0
syncfusion_flutter_pdfviewer ^26.2.8 26.2.14 30.1.37
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
device_info_plus - 10.1.2 11.5.0
device_info_plus_platform_interface - 7.0.3 7.0.3
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
hive - 2.2.3 2.2.3
http - 1.4.0 1.4.0
http_parser - 4.1.2 4.1.2
intl - 0.19.0 0.20.2
js - 0.7.2 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
nested - 1.0.0 1.0.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.17 2.2.17
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 6.1.0 7.0.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
string_scanner - 1.4.1 1.4.1
syncfusion_flutter_core - 26.2.14 30.1.37
syncfusion_flutter_pdf - 26.2.14 30.1.37
syncfusion_flutter_signaturepad - 26.2.14 30.1.37
syncfusion_pdfviewer_macos - 26.2.14 30.1.37
syncfusion_pdfviewer_platform_interface - 26.2.14 30.1.37
syncfusion_pdfviewer_web - 26.2.14 30.1.37
syncfusion_pdfviewer_windows - 26.2.14 30.1.37
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher - 6.3.1 6.3.1
url_launcher_android - 6.3.16 6.3.16
url_launcher_ios - 6.3.3 6.3.3
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.4 3.1.4
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.2.0
web - 1.1.1 1.1.1
win32 - 5.14.0 5.14.0
win32_registry - 1.1.5 2.1.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.6.0

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

The constraint `^26.2.8` on syncfusion_flutter_pdfviewer does not support the stable version `27.1.48`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
13
likes
150
points
113
downloads

Publisher

verified publisherasmitgupta.in

Weekly Downloads

Cache Service is a Flutter package that efficiently caches images and PDFs, including in-memory caching, to reduce load times and resource use for a smoother app experience.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

crypto, dio, flutter, hive_flutter, logger, provider, shimmer, syncfusion_flutter_pdfviewer

More

Packages that depend on cache_service