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

outdated

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

25
likes
110/ 160
pub points
489
downloads

We analyzed this package 45 hours ago, and awarded it 110 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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

OK
Provide documentation
20 / 20trigger folding of the section

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, cached_video_preview.SourceType.

10/10 points: Package has an example

failed
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: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.

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

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

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 7 issues. Showing the first 2:

ERROR: Missing concrete implementation of 'getter ResultSetImplementation.attachedDatabase'.

lib/src/database/database.g.dart:154:7

    ╷
154 │ class $VideosTable extends Videos with TableInfo<$VideosTable, VideoEntity> {
    │       ^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/database/database.g.dart

ERROR: The named parameter 'type' is required, but there's no corresponding argument.

lib/src/database/database.g.dart:159:46

    ╷
159 │   late final GeneratedColumn<String?> name = GeneratedColumn<String?>(
    │                                              ^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/database/database.g.dart

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
metadata_fetch ^0.4.1 0.4.2 0.4.2
moor ^4.4.1 4.6.1+1 4.6.1+1
moor_flutter ^4.0.0 4.1.0 4.1.0
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.28 0.5.28
video_thumbnail ^0.5.0 0.5.3 0.5.3
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
convert - 3.1.2 3.1.2
csslib - 1.0.2 1.0.2
drift - 1.7.1 2.23.0
ffi - 2.1.3 2.1.3
html - 0.15.5 0.15.5
http - 1.2.2 1.2.2
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path_provider_android - 2.2.15 2.2.15
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
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
sqflite - 2.4.1 2.4.1
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+6 2.5.4+6
sqflite_darwin - 2.4.1+1 2.4.1+1
sqflite_platform_interface - 2.4.0 2.4.0
sqlite3 - 1.11.2 2.5.0
stream_channel - 2.1.3 2.1.3
string_scanner - 1.4.1 1.4.1
string_validator - 1.1.0 1.1.0
synchronized - 3.3.0+3 3.3.0+3
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.0 1.1.0
xdg_directories - 1.1.0 1.1.0

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

25
likes
110
points
489
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

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