Voicey is a flutter package to play voice messages in chats. Also, you can sicking by dragging on voice noises.
Android | iOS | MacOS | Web |
---|---|---|---|
✔️ | ✔️ | ✔️ | ✔️ |
First add voicey to your pubsbec.yaml file:
dependencies:
voice_message_package: <latest-version>
Next, get package from pub dependencies:
flutter pub get
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.
);
- [✔️] 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.
Licensed under the MIT license. See LICENSE.
📌Find me at Portfolio