awareframework_ambientnoise 0.0.5

Flutter Android iOS

Ambient Noise sensor allows us to collect ambient noise information by each period using a phone's microphone. The data contains RMS, frequency(Hz), and decibels(dB).

1
likes
80 / 110
pub points
33 %
popularity

We analyzed this package on Oct 15, 2020, and awarded it 80 pub points (of a possible 110):

Follow Dart file conventions
10 / 20

0/10 points: Provide a valid pubspec.yaml

Homepage URL is insecure.

Update the homepage field and use a secure (https) URL.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

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

  • 9 out of 42 API elements (21.4 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)

Consider supporting multiple platforms:

Package does not support Flutter platform Web

Because:

  • package:awareframework_ambientnoise/awareframework_ambientnoise.dart that declares support for platforms: Android, iOS

Consider supporting these prerelease platforms:

Package does not support Flutter platform Windows

Because:

  • package:awareframework_ambientnoise/awareframework_ambientnoise.dart that declares support for platforms: Android, iOS
Package does not support Flutter platform Linux

Because:

  • package:awareframework_ambientnoise/awareframework_ambientnoise.dart that declares support for platforms: Android, iOS
Package does not support Flutter platform macOS

Because:

  • package:awareframework_ambientnoise/awareframework_ambientnoise.dart that declares support for platforms: Android, iOS
Pass static analysis
20 / 30

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

Found 3 issues. Showing the first 2:

INFO: The value of the field '_ambientNoiseStream' isn't used.

lib/awareframework_ambientnoise.dart:10:30

   ╷
10 │   static const EventChannel  _ambientNoiseStream  = const EventChannel('awareframework_ambientnoise/event');
   │                              ^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/awareframework_ambientnoise.dart

INFO: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: AmbientNoiseCard.ambientInfo

lib/awareframework_ambientnoise.dart:86:7

   ╷
86 │ class AmbientNoiseCard extends StatefulWidget {
   │       ^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/awareframework_ambientnoise.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
awareframework_core^0.1.10.1.10.1.1
flutterflutter0.0.00.0.0
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.1.0-nullsafety.31.1.0-nullsafety.3
charts_common-0.5.00.9.0
charts_flutter-0.5.00.9.0
collection-1.15.0-nullsafety.31.15.0-nullsafety.3
intl-0.15.80.16.1
logging-0.11.40.11.4
meta-1.3.0-nullsafety.31.3.0-nullsafety.4
path-1.7.01.8.0-nullsafety.1
sky_engine-0.0.990.0.99
typed_data-1.3.0-nullsafety.31.3.0-nullsafety.3
vector_math-2.1.0-nullsafety.32.1.0-nullsafety.3

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

10/10 points: Package supports latest stable Dart and Flutter SDKs

1
likes
80
pub points
33%
popularity

Ambient Noise sensor allows us to collect ambient noise information by each period using a phone's microphone. The data contains RMS, frequency(Hz), and decibels(dB).

Homepage

Documentation

API reference

Uploader

yukinishi55@gmail.com

License

Apache 2.0 (LICENSE)

Dependencies

awareframework_core, flutter

More

Packages that depend on awareframework_ambientnoise