social_media_recorder 1.2.1 copy "social_media_recorder: ^1.2.1" to clipboard
social_media_recorder: ^1.2.1 copied to clipboard

A Flutter package for both android and iOS which provides Audio recorder from microphone to a given file path through Button to record voice like social media Button

130/ 160
pub points
237
downloads

We analyzed this package 14 days ago, and awarded it 130 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: MIT.

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

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

OUT: Documenting social_media_recorder... Discovering libraries... Linking elements... Precaching local docs for 655714 elements... Initialized dartdoc with 880 libraries Generating docs for library provider/sound_record_notifier.dart from package:social_media_recorder/provider/sound_record_notifier.dart... Generating docs for library main.dart from package:social_media_recorder/main.dart... Generating docs for library screen/social_media_recorder.dart from package:social_media_recorder/screen/social_media_recorder.dart... Generating docs for library widgets/lock_record.dart from package:social_media_recorder/widgets/lock_record.dart... Generating docs for library widgets/sound_recorder_when_locked_design.dart from package:social_media_recorder/widgets/sound_recorder_when_locked_design.dart... [4 more lines] ERR: warning: social_media_recorder has no library level documentation comments from social_media_recorder: (file:///tmp/pana_KHBWAK/lib/screen/social_media_recorder.dart:1:1) warning: social_media_recorder has no library level documentation comments from social_media_recorder: (file:///tmp/pana_KHBWAK/lib/widgets/lock_record.dart:1:1) error: file already written at "social_media_recorder/index.html" for symbol social_media_recorder: (file:///tmp/pana_KHBWAK/lib/widgets/lock_record.dart:1:1) conflicting with file already generated by social_media_recorder: (file:///tmp/pana_KHBWAK/lib/screen/social_media_recorder.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'social_media_recorder' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library [51 more lines]

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:social_media_recorder/main.dart that imports:
  • package:social_media_recorder/screen/social_media_recorder.dart that imports:
  • package:social_media_recorder/widgets/sound_recorder_when_locked_design.dart that imports:
  • package:social_media_recorder/widgets/show_counter.dart that imports:
  • package:social_media_recorder/provider/sound_record_notifier.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `macOS`.

Because:

  • package:social_media_recorder/main.dart that imports:
  • package:social_media_recorder/screen/social_media_recorder.dart that imports:
  • package:social_media_recorder/widgets/sound_recorder_when_locked_design.dart that imports:
  • package:social_media_recorder/widgets/show_counter.dart that imports:
  • package:social_media_recorder/provider/sound_record_notifier.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `Web`.

Because:

  • package:social_media_recorder/main.dart that imports:
  • package:social_media_recorder/screen/social_media_recorder.dart that imports:
  • package:social_media_recorder/widgets/sound_recorder_when_locked_design.dart that imports:
  • package:social_media_recorder/widgets/show_counter.dart that imports:
  • package:social_media_recorder/provider/sound_record_notifier.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
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 8 issues. Showing the first 2:

INFO: Missing type annotation.

lib/provider/sound_record_notifier.dart:108:3

    ╷
108 │   finishRecording() {
    │   ^^^^^^^^^^^^^^^
    ╵

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

INFO: Missing type annotation.

lib/provider/sound_record_notifier.dart:121:3

    ╷
121 │   resetEdgePadding() async {
    │   ^^^^^^^^^^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest Notes
animated_text_kit ^4.2.2 4.3.0 4.3.0
cupertino_icons ^1.0.6 1.0.8 1.0.8
path_provider ^2.1.1 2.1.5 2.1.5
permission_handler ^11.0.0 11.4.0 12.0.1
provider ^6.1.1 6.1.5+1 6.1.5+1
record ^5.2.0 5.2.1 6.1.2
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
nested - 1.0.0 1.0.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.5.1
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_android - 12.1.0 13.0.1
permission_handler_apple - 9.4.7 9.4.7
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.3.0 4.3.0
permission_handler_windows - 0.2.1 0.2.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
record_android - 1.4.5 1.4.5
record_darwin - 1.2.2 1.2.2 Discontinued
record_linux - 0.7.2 1.2.1
record_platform_interface - 1.4.0 1.4.0
record_web - 1.2.2 1.2.2
record_windows - 1.0.7 1.0.7
typed_data - 1.4.0 1.4.0
uuid - 4.5.2 4.5.2
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
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 `^11.0.0` on permission_handler does not support the stable version `12.0.0`.

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

The constraint `^5.2.0` on record does not support the stable version `6.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
177
likes
130
points
237
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for both android and iOS which provides Audio recorder from microphone to a given file path through Button to record voice like social media Button

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

animated_text_kit, cupertino_icons, flutter, path_provider, permission_handler, provider, record

More

Packages that depend on social_media_recorder