Skip to content

Brainants/voice_message_player-1

 
 

Repository files navigation

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 Portfolio

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 82.4%
  • HTML 11.9%
  • Ruby 4.0%
  • Swift 1.2%
  • Other 0.5%