sounds_common 1.0.6

  • Readme
  • Changelog
  • Example
  • Installing
  • new81

Overview #

sounds_common is a helper library to share code between the sounds and sounds_codec projects.

The sounds project provids audio recording and playback for Flutter applications.

The sounds_codec project provides a codec conversion library using the ffmpeg library.

Features and bugs #

Please file feature requests and bugs at the issue tracker.

1.0.6 #

Fixed a bug in the downloader. The percentage was always 0.

1.0.5 #

removed the required annotation from Track.fromAsset

1.0.4 #

Exposed the Downloader class as part of the public api.

1.0.3 #

Minor cleanup of warnings to make happy. One minor bug detected in currently unused code.

1.0.2 #

updated documenation links.

1.0.1 #

First working version. Contains a completed version using MediaFormat.

1.0.0 #

  • Initial version, created by Stagehand


import 'package:sounds_common/sounds_common.dart';

void main() {
  /// See the sounds package for actual usage.
  /// This example is just here because requires it.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  sounds_common: ^1.0.6

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:sounds_common/sounds_common.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Jul 10, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.14
  • Flutter: 1.17.5

Analysis suggestions

Package not compatible with SDK dart


  • sounds_common that is a package requiring null.

Package not compatible with runtime flutter-web on web


  • package:sounds_common/sounds_common.dart that imports:
  • package:sounds_common/src/util/downloader.dart that imports:
  • package:sounds_common/src/util/log.dart that imports:
  • package:sounds_common/src/util/stack_trace_impl.dart that imports:
  • dart:io

Health suggestions

Fix lib/src/media_format/media_format.dart. (-0.50 points)

Analysis of lib/src/media_format/media_format.dart reported 1 hint:

line 45 col 17: Override hashCode if overriding ==.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.8.1 <3.0.0
flutter 0.0.0
intl ^0.16.1 0.16.1
logger >=0.7.0+2 <1.0.0 0.9.1
meta ^1.1.8 1.1.8 1.2.2
path ^1.6.4 1.7.0
pedantic ^1.9.0 1.9.0 1.9.2
uuid ^2.0.4 2.2.0
Transitive dependencies
charcode 1.1.3
collection 1.14.12 1.14.13
convert 2.1.1
crypto 2.1.5
sky_engine 0.0.99
typed_data 1.1.6 1.2.0
vector_math 2.0.8 2.1.0-nullsafety
Dev dependencies
effective_dart ^1.2.1
test ^1.14.4