chewie_audio 1.5.0 copy "chewie_audio: ^1.5.0" to clipboard
chewie_audio: ^1.5.0 copied to clipboard

An audio player for Flutter with Cupertino and Material play controls

81
likes
150/ 160
pub points
91%
popularity

We analyzed this package 8 days ago, and awarded it 150 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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

39 out of 97 API elements (40.2 %) have documentation comments.

Some symbols that are missing documentation: chewie_audio, chewie_audio.ChewieAudioController.copyWith, chewie_audio.ChewieAudioController.defaultHideControlsTimer, chewie_audio.ChewieAudioController.isPlaying, chewie_audio.ChewieAudioController.of.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

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

Because:

  • package:chewie_audio/chewie_audio.dart that imports:
  • package:chewie_audio/src/material/material_controls.dart that imports:
  • package:video_player/video_player.dart that declares support for platforms: Android, iOS, macOS, Web.

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

Package not compatible with platform Web

Because:

  • package:chewie_audio/chewie_audio.dart that imports:
  • package:chewie_audio/src/material/material_controls.dart that imports:
  • package:video_player/video_player.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:chewie_audio/chewie_audio.dart that imports:
  • package:chewie_audio/src/material/material_controls.dart that imports:
  • package:video_player/video_player.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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 8 issues. Showing the first 2:

INFO: 'background' is deprecated and shouldn't be used. Use surface instead. This feature was deprecated after v3.18.0-0.1.pre.

lib/src/material/material_controls.dart:70:44

   ╷
70 │       color: Theme.of(context).colorScheme.background,
   │                                            ^^^^^^^^^^
   ╵

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

INFO: 'onBackground' is deprecated and shouldn't be used. Use onSurface instead. This feature was deprecated after v3.18.0-0.1.pre.

lib/src/material/material_controls.dart:117:47

    ╷
117 │               ? Theme.of(context).colorScheme.onBackground
    │                                               ^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/material/material_controls.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
cupertino_icons ^1.0.5 1.0.8 1.0.8
flutter flutter 0.0.0 0.0.0
video_player ^2.4.7 2.9.2 2.9.2
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
csslib - 1.0.2 1.0.2
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.5 0.15.5
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
term_glyph - 1.2.1 1.2.1
vector_math - 2.1.4 2.1.4
video_player_android - 2.7.16 2.7.16
video_player_avfoundation - 2.6.2 2.6.2
video_player_platform_interface - 6.2.3 6.2.3
video_player_web - 2.3.3 2.3.3
web - 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.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.

81
likes
150
pub points
91%
popularity

Publisher

verified publishersub6resources.com

An audio player for Flutter with Cupertino and Material play controls

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cupertino_icons, flutter, video_player

More

Packages that depend on chewie_audio