codifyiq_audio_message

pub package

A chat-style audio message player with play/pause, a scrubbable progress bar, and a duration readout. Playback is driven through a pluggable AudioPlayerBackend interface, which defaults to a just_audio binding but can be swapped for testing or unsupported platforms.

Installation

dependencies:
  codifyiq_audio_message: ^1.0.0

Usage

import 'package:codifyiq_audio_message/codifyiq_audio_message.dart';

// The simplest form manages its own controller from a URL.
AudioMessage(url: 'https://example.com/clip.m4a');

// Or drive it yourself for finer control (and a custom playback backend):
final controller = AudioMessageController('https://example.com/clip.m4a');
AudioMessage(url: controller.url, controller: controller);

Pass a custom backend to AudioMessageController to substitute the default just_audio binding.


Part of the CodifyIQ component family ยท pub.dev/publishers/codifyiq.com

Libraries

codifyiq_audio_message
A chat-style audio message player with a pluggable playback backend.