svga_next_just_audio 0.1.0 copy "svga_next_just_audio: ^0.1.0" to clipboard
svga_next_just_audio: ^0.1.0 copied to clipboard

Audio backend for the svga_next Flutter SVGA player using just_audio, with playback controls and automatic temporary file cleanup.

svga_next_just_audio #

An optional just_audio backend for svga_next.

Requirements #

Flutter 3.27 and Dart 3.6 or later. Web is not supported.

Install #

dependencies:
  svga_next: ^0.1.0
  svga_next_just_audio: ^0.1.0

Run flutter pub get.

Register the backend #

import 'package:svga_next/svga_next.dart';
import 'package:svga_next_just_audio/svga_next_just_audio.dart';

void main() {
  SvgaAudio.backend = const SvgaJustAudioBackend();
  // Start your Flutter app.
}

Register the backend before assigning a movie to a controller. Each SVGA audio track uses its own player and temporary file. The backend removes the file when the track is disposed. This backend targets Android, iOS, and macOS. The core package does not support web.

0
likes
150
points
72
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Audio backend for the svga_next Flutter SVGA player using just_audio, with playback controls and automatic temporary file cleanup.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, just_audio, svga_next

More

Packages that depend on svga_next_just_audio