flutter_sound_suite 0.2.0+2 copy "flutter_sound_suite: ^0.2.0+2" to clipboard
flutter_sound_suite: ^0.2.0+2 copied to clipboard

PlatformAndroidiOS
outdated

a flutter sound suite for record and play voice easily

6
likes
110/ 160
pub points
46%
popularity

We analyzed this package 23 hours ago, and awarded it 110 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

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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

4 out of 27 API elements (14.8 %) 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: flutter_sound_suite, flutter_sound_suite.RecordCompleteCallback, flutter_sound_suite.SoundPlayerModel, flutter_sound_suite.SoundPlayerModel.SoundPlayerModel, flutter_sound_suite.SoundPlayerModel.currentPlayTime.

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:flutter_sound_suite/flutter_sound_suite.dart that imports:
  • package:flutter_sound_suite/src/sound_recorder_widget.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:flutter_sound_suite/flutter_sound_suite.dart that imports:
  • package:flutter_sound_suite/src/sound_recorder_widget.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:flutter_sound_suite/flutter_sound_suite.dart that imports:
  • package:flutter_sound_suite/src/sound_recorder_widget.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:flutter_sound_suite/flutter_sound_suite.dart that imports:
  • package:flutter_sound_suite/src/sound_recorder_widget.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_sound_suite/flutter_sound_suite.dart that imports:
  • package:flutter_sound_suite/src/sound_recorder_widget.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.

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

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

Found 7 issues. Showing the first 2:

WARNING: The '!' will have no effect because the receiver can't be null.

lib/src/sound_recorder_widget.dart:270:26

    ╷
270 │       Overlay.of(context)!.insert(_overlayEntry!);
    │                          ^
    ╵

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

INFO: Using a colon as the separator before a default value is deprecated and will not be supported in language version 3.0 and later.

lib/src/sound_player_model.dart:98:49

   ╷
98 │   startPlayer({required String path, Codec codec: Codec.amrNB}) async {
   │                                                 ^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/sound_player_model.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
dio ^4.0.0-beta7 4.0.6 5.7.0
flutter flutter 0.0.0 0.0.0
flutter_sound ^8.0.0+6 8.3.9 9.17.0
intl ^0.17.0 0.17.0 0.20.0
path_provider ^2.0.1 2.1.5 2.1.5
permission_handler ^6.0.0 6.1.3 11.3.1
provider ^5.0.0 5.0.0 6.1.2
uuid ^3.0.0 3.0.7 4.5.1
Transitive dependencies
Package Constraint Compatible Latest
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_sound_platform_interface - 8.3.9 9.17.0
flutter_sound_web - 8.3.9 9.17.0
flutter_spinkit - 5.2.1 5.2.1
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.1.1
js - 0.6.7 0.7.1
logger - 1.4.0 2.5.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nested - 1.0.0 1.0.0
path - 1.9.1 1.9.1
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
permission_handler_platform_interface - 3.12.0 4.2.3
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
recase - 4.1.0 4.1.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
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
xdg_directories - 1.1.0 1.1.0

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

Found 6 issues. Showing the first 2:

The constraint `^4.0.0-beta7` on dio does not support the stable version `5.0.0`.

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

The constraint `^8.0.0+6` on flutter_sound does not support the stable version `9.1.0`.

Try running dart pub upgrade --major-versions flutter_sound 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.