voice_message_player

Creator: coderz1093

Last updated:

Add to Cart

Description:

voice message player

Flutter voice message player #




Demo #




Voicey is a flutter package to play voice messages in chats. Also, you can sicking by dragging on voice noises.


Platform Support #



Android
iOS
MacOS
Web




✔️
✔️
✔️
✔️




Installation #
First add voicey to your pubsbec.yaml file:
dependencies:
voice_message_player: <latest-version>
copied to clipboard

Next, get package from pub dependencies:
flutter pub get
copied to clipboard

How to use #
All you need is pass your audio file src to VoiceMessagePlayer widget:
VoiceMessagePlayer(
controller: VoiceController(
audioSrc:
'https://dl.solahangs.com/Music/1403/02/H/128/Hiphopologist%20-%20Shakkak%20%28128%29.mp3',
onComplete: () {
/// do something on complete
},
onPause: () {
/// do something on pause
},
onPlaying: () {
/// do something on playing
},
onError: (err) {
/// do somethin on error
},
),
maxDuration: const Duration(seconds: 10),
isFile: false,
innerPadding: 12,
cornerRadius: 20,
),
copied to clipboard
Todo #

[✔️] Cache audio and play from cache.
[✔️] Seeking on audio by drag on noises.
[✔️] Change playback speed.
[✔️] Handle exceptions.
[✔️] Customization .
[✔️] Dynamic width for voice widget.



Moeed366


### Contributing
License #
Licensed under the MIT license. See LICENSE.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.