cached_video_preview 1.0.6 copy "cached_video_preview: ^1.0.6" to clipboard
cached_video_preview: ^1.0.6 copied to clipboard

Flutter plugin that can help you get remote or local video preview image and cache it.

25
likes
130/ 160
pub points
386
downloads

We analyzed this package 4 days ago, and awarded it 130 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: BSD-3-Clause.

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

11 out of 15 API elements (73.3 %) have documentation comments.

Some symbols that are missing documentation: cached_video_preview, cached_video_preview.CachedVideoPreviewWidget, cached_video_preview.CachedVideoPreviewWidget.CachedVideoPreviewWidget.new, cached_video_preview.SourceType.

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 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:cached_video_preview/cached_video_preview.dart that imports:
  • package:cached_video_preview/src/widget/cached_video_preview_widget.dart that imports:
  • package:cached_video_preview/src/helper/cache_helper.dart that imports:
  • package:video_thumbnail/video_thumbnail.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:cached_video_preview/cached_video_preview.dart that imports:
  • package:cached_video_preview/src/widget/cached_video_preview_widget.dart that imports:
  • package:cached_video_preview/src/helper/cache_helper.dart that imports:
  • package:video_thumbnail/video_thumbnail.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:cached_video_preview/cached_video_preview.dart that imports:
  • package:cached_video_preview/src/widget/cached_video_preview_widget.dart that imports:
  • package:cached_video_preview/src/helper/cache_helper.dart that imports:
  • package:video_thumbnail/video_thumbnail.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:cached_video_preview/cached_video_preview.dart that imports:
  • package:cached_video_preview/src/widget/cached_video_preview_widget.dart that imports:
  • package:cached_video_preview/src/helper/cache_helper.dart that imports:
  • package:video_thumbnail/video_thumbnail.dart that declares support for platforms: Android, iOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:cached_video_preview/cached_video_preview.dart that imports:
  • package:cached_video_preview/src/widget/cached_video_preview_widget.dart that imports:
  • package:cached_video_preview/src/helper/cache_helper.dart that imports:
  • package:cached_video_preview/src/database/database.dart that imports:
  • package:moor_flutter/moor_flutter.dart that imports:
  • dart:io

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
10 / 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
metadata_fetch ^0.4.1 0.4.2 0.4.2
moor ^4.4.1 4.6.1+1 4.6.1+1 Discontinued
moor_flutter ^4.0.0 4.1.0 4.1.0 Discontinued
path ^1.8.0 1.9.1 1.9.1
path_provider ^2.0.2 2.1.5 2.1.5
platform ^3.1.0 3.1.6 3.1.6
sqlite3_flutter_libs ^0.5.0 0.5.32 0.5.32
video_thumbnail ^0.5.0 0.5.3 0.5.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
csslib - 1.0.2 1.0.2
drift - 1.7.1 2.26.0
ffi - 2.1.4 2.1.4
html - 0.15.5+1 0.15.5+1
http - 1.3.0 1.3.0
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path_provider_android - 2.2.16 2.2.16
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
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
sqflite - 2.4.2 2.4.2
sqflite_android - 2.4.1 2.4.1
sqflite_common - 2.5.5 2.5.5
sqflite_darwin - 2.4.2 2.4.2
sqflite_platform_interface - 2.4.0 2.4.0
sqlite3 - 1.11.2 2.7.5
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
string_validator - 1.1.0 1.1.0
synchronized - 3.3.1 3.3.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0

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

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • moor
  • moor_flutter.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 6 errors:

  • MISSING_REQUIRED_ARGUMENT - lib/src/database/database.g.dart:160:46 - The named parameter 'typeName' is required, but there's no corresponding argument.
  • UNDEFINED_NAMED_PARAMETER - lib/src/database/database.g.dart:162:7 - The named parameter 'type' isn't defined.
  • MISSING_REQUIRED_ARGUMENT - lib/src/database/database.g.dart:165:50 - The named parameter 'typeName' is required, but there's no corresponding argument.

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.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 11Aug 8Sep 5Oct 3Oct 31Nov 28Dec 26Jan 23Feb 20Mar 20050100150200250300350>=1.0.0-0 <2.0.0
25
likes
130
points
386
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.26 - 2025.04.10

Flutter plugin that can help you get remote or local video preview image and cache it.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, metadata_fetch, moor, moor_flutter, path, path_provider, platform, sqlite3_flutter_libs, video_thumbnail

More

Packages that depend on cached_video_preview