voice_message_package 2.1.1 copy "voice_message_package: ^2.1.1" to clipboard
voice_message_package: ^2.1.1 copied to clipboard

Flutter package to play/puase voice message in chat messengers.

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:

 VoiceMessageView(
  controller: VoiceController(
    audioSrc:
        'https://dl.musichi.ir/1401/06/21/Ghors%202.mp3',
    maxDuration: const Duration(seconds: 120),
    isFile: false,
    onComplete: () {
      print('onComplete');
    },
    onPause: () {
      print('onPause');
    },
    onPlaying: () {
      print('onPlaying');
    },
  ),
  innerPadding: 12,
  cornerRadius: 20,
),

Todo #

  • [✔️] Seeking on audio by drag on noises.
  • [✔️] Change playback speed.
  • ❌ dynamic size for voice widget.

License #

Licensed under the MIT license. See LICENSE.

📌Find me at www.mehran.monster

234
likes
0
pub points
96%
popularity

Publisher

verified publishermehran.monster

Flutter package to play/puase voice message in chat messengers.

Homepage

License

unknown (license)

Dependencies

flutter, just_audio, syncfusion_flutter_sliders

More

Packages that depend on voice_message_package