medcorder_audio_test 0.9.0

  • Readme
  • Changelog
  • Example
  • Installing
  • 41

medcorder_audio_test #

Flutter record/play audio plugin. #

Developed for #

Funded by David Weekly #

Getting Started #

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.

With medcorder_audio_test plugin you can integrate record/play audio support into your flutter app for iOS or Android.

Plugin functions #


Future iOS only. open PlayAndRecord audio session returns: 'OK', 'FAIL'


Future iOS only. close PlayAndRecord audio session returns: 'OK', 'FAIL'


Future start record audio file to app documents path returns: 'OK', 'FAIL'


Future stop audio recording process returns: 'OK', 'FAIL'


Future check if you have recording audio permissions returns: 'OK', 'NO'


Future start audio playing for file with position returns: 'OK', 'FAIL' params: Map<String, String>

fileStringString file Id
positiondoubleplay start position in seconds


Future stop audio playing returns: 'OK', 'FAIL' params: Map<String, String>

Plugin events #

for recieving plugin events you need assign callback function void _onEvent(Map<String, dynamic> event) {...}

recording events

'url'Stringrecording file url
'peakPowerForChannel'doublepeak power for channel
'currentTime'doublerecording time in seconds

playing events

'code'String'playing', 'audioPlayerDidFinishPlaying'
'url'Stringplaying file url
'currentTime'doubleplaying time in seconds
'duration'doubleplaying file duration

[0.0.1] - TODO: Add release date. #

  • audio record/play plugin


medcorder_audio_test_example #

Demonstrates how to use the medcorder_audio_test plugin.

Getting Started #

For help getting started with Flutter, view our online documentation.

Use this package as a library

1. Depend on it

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

  medcorder_audio_test: ^0.9.0

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:medcorder_audio_test/medcorder_audio_test.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 Feb 27, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.5
  • Flutter: 1.12.13+hotfix.7

Health issues and suggestions

Document public APIs. (-1 points)

15 out of 15 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Fix lib/medcorder_audio_test.dart. (-0.50 points)

Analysis of lib/medcorder_audio_test.dart reported 1 hint:

line 3 col 8: Duplicate import.

Maintenance suggestions

Package is getting outdated. (-22.19 points)

The package was last published 63 weeks ago.

The package description is too short. (-20 points)

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.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.58.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.8
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8