gbbest15 / voice_message_player

New voice meesage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

New voice meesage

License:MIT License


Languages

Language:Dart 82.3%Language:HTML 11.9%Language:Ruby 4.0%Language:Swift 1.2%Language:Kotlin 0.4%Language:Objective-C 0.1%