fwfh_just_audio 0.6.2+2 icon indicating copy to clipboard operation
fwfh_just_audio: ^0.6.2+2 copied to clipboard

WidgetFactory extension to render AUDIO with the just_audio plugin.

JustAudioFactory #

Flutter codecov Pub

WidgetFactory extension to render AUDIO with the just_audio plugin. This is a companion add-on for flutter_widget_from_html_core package.

Live demo: https://html-widget-demo.vercel.app/#/audio

Getting Started #

Add this to your app's pubspec.yaml file:

dependencies:
  flutter_widget_from_html_core: any
  fwfh_just_audio: ^0.6.2

Platform specific configuration #

iOS

This package uses just_audio to play audio and this dependency uses a microphone API. By default, the App Store requires a usage description which can be skipped by editing your ios/Podfile. See the detailed instruction on its pub.dev page.

If you don't need AUDIO tag support (e.g. your HTML never has that tag), it may be better to switch to the core package and use it with a subset of the mixins. See Extensibility for more details.

Usage #

Then use HtmlWidget with a custom factory:

import 'package:flutter_widget_from_html_core/flutter_widget_from_html_core.dart';
import 'package:fwfh_just_audio/fwfh_just_audio.dart';

// ...

HtmlWidget(
  html,
  factoryBuilder: () => MyWidgetFactory(),
)

// ...

class MyWidgetFactory extends WidgetFactory with JustAudioFactory {
}
1
likes
140
pub points
92%
popularity

Publisher

verified publisher icondaohoangson.com

WidgetFactory extension to render AUDIO with the just_audio plugin.

Homepage

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter, flutter_widget_from_html_core, just_audio

More

Packages that depend on fwfh_just_audio