voice_message_package 0.0.61 voice_message_package: ^0.0.61 copied to clipboard
Flutter package to play voice message in chats with playback speed x1/x2.
Voicey - Flutter voice message player #
Demo #
Voicey is a flutter package to play voice messages in chats with playback rates x1/x2.
Platform Support #
Android | iOS | MacOS | Web |
---|---|---|---|
✔️ | ✔️ | ✔️ | ✔️ |
Installation #
First add voicey to your pubsbec.yaml file:
dependencies:
voice_message_package: <latest-version>
Next, get package from pub dependencies:
flutter pub get
How to use #
All you need is pass your audio file src to VoiceMessage widget:
VoiceMessage(
audioSrc: 'YOUR_AUDIO_URL',
played: false, // to show played badge or not.
me: true, // set message side.
onPlay: () {}, // do somethin when voice played.
);
Todo #
- ✅ seeking on audio by drag on noises.
- ❌ add x2 playback speed.
- ❌ generate noises according to real voice noise.
- ❌ dynamic size for voice widget.
- ❌ dynamic size for noises.
License #
Licensed under the MIT license. See LICENSE.
Me #
📌Find me at mehrun.pro