voice_message_package 1.0.41 copy "voice_message_package: ^1.0.41" to clipboard
voice_message_package: ^1.0.41 copied to clipboard

Flutter package to play/puase voice message in chat messengers.

234
likes
120/ 160
pub points
96%
popularity

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

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

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: voice_message_package,
    • contains a version property, and,
    • does not contain a publish_to property.

pubspec.yaml from the repository has a repository or homepage field "https://mehran.monster/" but cannot be parsed as a repository URL: Invalid repository URL: Could not recognize URL segments: /. Please report at pana.

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.

partial
Provide documentation
10 / 20trigger folding of the section

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

2 out of 25 API elements (8.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: voice_message_package, voice_message_package.CustomTrackShape, voice_message_package.CustomTrackShape.CustomTrackShape, voice_message_package.CustomTrackShape.getPreferredRect, voice_message_package.VoiceMessage.audioFile.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:voice_message_package/voice_message_package.dart that imports:
  • package:voice_message_package/src/voice_message.dart that imports:
  • package:just_audio/just_audio.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:voice_message_package/voice_message_package.dart that imports:
  • package:voice_message_package/src/voice_message.dart that imports:
  • package:just_audio/just_audio.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Web`.

Because:

  • package:voice_message_package/voice_message_package.dart that imports:
  • package:voice_message_package/src/voice_message.dart that imports:
  • package:just_audio/just_audio.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:voice_message_package/voice_message_package.dart that imports:
  • package:voice_message_package/src/voice_message.dart that imports:
  • package:just_audio/just_audio.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.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 3 issues. Showing the first 2:

INFO: 'MediaQueryData.fromWindow' is deprecated and shouldn't be used. Use MediaQueryData.fromView instead. This constructor was deprecated in preparation for the upcoming multi-window support. This feature was deprecated after v3.7.0-32.0.pre.

lib/src/helpers/utils.dart:5:5

  ╷
5 │     MediaQueryData.fromWindow(WidgetsBinding.instance.window);
  │     ^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: 'window' is deprecated and shouldn't be used. Look up the current FlutterView from the context via View.of(context) or consult the PlatformDispatcher directly instead. Deprecated to prepare for the upcoming multi-window support. This feature was deprecated after v3.7.0-32.0.pre.

lib/src/helpers/utils.dart:5:55

  ╷
5 │     MediaQueryData.fromWindow(WidgetsBinding.instance.window);
  │                                                       ^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest
audioplayers ^3.0.1 3.0.1 6.1.0
flutter flutter 0.0.0 0.0.0
just_audio ^0.9.31 0.9.42 0.9.42
syncfusion_flutter_sliders ^20.4.51 20.4.54 27.1.58
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
audio_session - 0.1.21 0.1.21
audioplayers_android - 2.0.0 5.0.0
audioplayers_darwin - 3.0.1 6.0.0
audioplayers_linux - 1.0.4 4.0.0
audioplayers_platform_interface - 4.0.0 7.0.0
audioplayers_web - 2.2.0 5.0.1
audioplayers_windows - 1.1.3 4.0.0
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
collection - 1.18.0 1.19.1
crypto - 3.0.6 3.0.6
ffi - 2.1.3 2.1.3
flutter_web_plugins - 0.0.0 0.0.0
http - 0.13.6 1.2.2
http_parser - 4.0.2 4.1.1
intl - 0.19.0 0.20.0
js - 0.6.7 0.7.1
just_audio_platform_interface - 4.3.0 4.3.0
just_audio_web - 0.4.13 0.4.13
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
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
rxdart - 0.28.0 0.28.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
syncfusion_flutter_core - 20.4.54 27.1.58
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.1
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.

The constraint `^3.0.1` on audioplayers does not support the stable version `4.0.0`.

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

The constraint `^20.4.51` on syncfusion_flutter_sliders does not support the stable version `21.1.35`.

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

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.