voice_message_package 0.0.71 voice_message_package: ^0.0.71 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. 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_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 something 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