flutter_sound_web 10.3.8 copy "flutter_sound_web: ^10.3.8" to clipboard
flutter_sound_web: ^10.3.8 copied to clipboard

Platformweb
unlisted

Flutter plugin that relates to sound like audio and recorder.

110/ 160
pub points
77.1k
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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: MPL-2.0.

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

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

OUT: Documenting flutter_sound_web... Discovering libraries... Linking elements... Precaching local docs for 1181632 elements... Initialized dartdoc with 1012 libraries Generating docs for library flutter_sound_recorder_web.dart from package:flutter_sound_web/flutter_sound_recorder_web.dart... Generating docs for library flutter_sound_player_web.dart from package:flutter_sound_web/flutter_sound_player_web.dart... Generating docs for library flutter_sound_media_player_web.dart from package:flutter_sound_web/flutter_sound_media_player_web.dart... Generating docs for library flutter_sound_web.dart from package:flutter_sound_web/flutter_sound_web.dart... Generating docs for library flutter_sound_media_recorder_web.dart from package:flutter_sound_web/flutter_sound_media_recorder_web.dart... [1 more lines] ERR: warning: flutter_sound has no library level documentation comments from flutter_sound: (file:///tmp/pana_IKGJSU/lib/flutter_sound_recorder_web.dart:1:1) warning: flutter_sound has no library level documentation comments from flutter_sound: (file:///tmp/pana_IKGJSU/lib/flutter_sound_player_web.dart:1:1) warning: unresolved doc reference [FlutterSoundPlatform] from flutter_sound.FlutterSoundPlayerWeb: (file:///tmp/pana_IKGJSU/lib/flutter_sound_player_web.dart:196:7) error: file already written at "flutter_sound/index.html" for symbol flutter_sound: (file:///tmp/pana_IKGJSU/lib/flutter_sound_player_web.dart:1:1) conflicting with file already generated by flutter_sound: (file:///tmp/pana_IKGJSU/lib/flutter_sound_recorder_web.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. [27 more lines]

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 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Web

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:flutter_sound_web/flutter_sound_web.dart that declares support for platforms: Web.
Package does not support platform `iOS`.

Because:

  • package:flutter_sound_web/flutter_sound_web.dart that declares support for platforms: Web.
Package does not support platform `Windows`.

Because:

  • package:flutter_sound_web/flutter_sound_web.dart that declares support for platforms: Web.
Package does not support platform `Linux`.

Because:

  • package:flutter_sound_web/flutter_sound_web.dart that declares support for platforms: Web.
Package does not support platform `macOS`.

Because:

  • package:flutter_sound_web/flutter_sound_web.dart that declares support for platforms: 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:flutter_sound_web/flutter_sound_web.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_sound_web/flutter_sound_web.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.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.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 10 issues. Showing the first 2:

INFO: Angle brackets will be interpreted as HTML.

lib/flutter_sound_media_recorder_web.dart:40:16

   ╷
40 │   ///StreamSink<Uint8List>? streamSink;
   │                ^^^^^^^^^^^
   ╵

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

INFO: Use 'isNotEmpty' instead of 'length' to test whether the collection is empty.

lib/flutter_sound_media_recorder_web.dart:142:9

    ╷
142 │     if (bb.length > 0) {
    │         ^^^^^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
flutter_sound_platform_interface 10.3.8 10.3.8 10.3.8
logger ^2.0.2 2.6.2 2.6.2
web >=0.5.0 <2.0.0 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
plugin_platform_interface - 2.1.8 2.1.8
vector_math - 2.2.0 2.2.0

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

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

  • UNDEFINED_NAMED_PARAMETER - lib/flutter_sound_media_player_web.dart:87:7 - The named parameter 'channelCount' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/flutter_sound_media_recorder_web.dart:201:7 - The named parameter 'channelCount' isn't defined.

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.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: