chewie_fix 1.0.4 copy "chewie_fix: ^1.0.4" to clipboard
chewie_fix: ^1.0.4 copied to clipboard

A video player for Flutter with Cupertino and Material play controls

0
likes
60/ 160
pub points
54
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: chewie_fix,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: chewie_fix.

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.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

51 out of 121 API elements (42.1 %) have documentation comments.

Some symbols that are missing documentation: chewie, chewie.Chewie.Chewie.new, chewie.ChewieController.ChewieController.new, chewie.ChewieController.copyWith, chewie.ChewieController.defaultHideControlsTimer.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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:chewie_fix/chewie.dart that imports:
  • package:chewie_fix/src/material/material_controls.dart that imports:
  • package:chewie_video_player/video_player.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:chewie_fix/chewie.dart that imports:
  • package:chewie_fix/src/material/material_controls.dart that imports:
  • package:chewie_video_player/video_player.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:chewie_fix/chewie.dart that imports:
  • package:chewie_fix/src/material/material_controls.dart that imports:
  • package:chewie_video_player/video_player.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Web`.

Because:

  • package:chewie_fix/chewie.dart that imports:
  • package:chewie_fix/src/material/material_controls.dart that imports:
  • package:chewie_fix/src/chewie_player.dart that imports:
  • package:wakelock/wakelock.dart that imports:
  • package:wakelock_macos/wakelock_macos.dart that declares support for platforms: macOS.

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:chewie_fix/chewie.dart that imports:
  • package:chewie_fix/src/material/material_controls.dart that imports:
  • package:chewie_fix/src/chewie_player.dart that imports:
  • package:wakelock/wakelock.dart that imports:
  • package:wakelock_macos/wakelock_macos.dart that declares support for platforms: macOS.
Package does not support platform `iOS`.

Because:

  • package:chewie_fix/chewie.dart that imports:
  • package:chewie_fix/src/material/material_controls.dart that imports:
  • package:chewie_fix/src/chewie_player.dart that imports:
  • package:wakelock/wakelock.dart that imports:
  • package:wakelock_macos/wakelock_macos.dart that declares support for platforms: macOS.

Failed check 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 report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 20 issues. Showing the first 2:

ERROR: The getter 'button' isn't defined for the type 'TextTheme'.

lib/src/material/material_controls.dart:252:51

    ╷
252 │     final iconColor = Theme.of(context).textTheme.button!.color;
    │                                                   ^^^^^^
    ╵

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

ERROR: The getter 'backgroundColor' isn't defined for the type 'ThemeData'.

lib/src/material/material_controls.dart:609:48

    ╷
609 │               bufferedColor: Theme.of(context).backgroundColor.withOpacity(0.5),
    │                                                ^^^^^^^^^^^^^^^
    ╵

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

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
change_app_package_name ^1.1.0 1.5.0 1.5.0
chewie_video_player ^2.4.6 2.4.6 2.4.6
cupertino_icons ^1.0.3 1.0.8 1.0.8
provider ^6.0.1 6.1.5 6.1.5
shared_preferences ^2.0.15 2.5.3 2.5.3
wakelock ^0.6.1+1 0.6.2 0.6.2 Discontinued
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
chewie_video_player_android - 2.3.6 2.3.6
collection - 1.19.1 1.19.1
csslib - 1.0.2 1.0.2
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
html - 0.15.6 0.15.6
js - 0.6.7 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_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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
shared_preferences_android - 2.4.10 2.4.10
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.1
term_glyph - 1.2.2 1.2.2
vector_math - 2.1.4 2.2.0
video_player_avfoundation - 2.4.2 2.7.1
video_player_platform_interface - 5.1.4 6.3.0
video_player_web - 2.0.15 2.3.5
wakelock_macos - 0.4.0 0.4.0
wakelock_platform_interface - 0.3.0 0.3.0
wakelock_web - 0.4.0 0.4.0
wakelock_windows - 0.2.1 0.2.1
web - 1.1.1 1.1.1
win32 - 3.1.4 5.14.0
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:

  • wakelock.

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 4 errors:

  • UNDEFINED_GETTER - lib/src/material/material_controls.dart:252:51 - The getter 'button' isn't defined for the type 'TextTheme'.
  • UNDEFINED_GETTER - lib/src/material/material_controls.dart:609:48 - The getter 'backgroundColor' isn't defined for the type 'ThemeData'.
  • UNDEFINED_GETTER - lib/src/material/material_desktop_controls.dart:246:51 - The getter 'button' 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.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
60
points
54
downloads

Publisher

unverified uploader

Weekly Downloads

A video player for Flutter with Cupertino and Material play controls

Documentation

API reference

License

MIT (license)

Dependencies

change_app_package_name, chewie_video_player, cupertino_icons, flutter, provider, shared_preferences, wakelock

More

Packages that depend on chewie_fix