fwfh_just_audio 0.6.2+2 copy "fwfh_just_audio: ^0.6.2+2" to clipboard
fwfh_just_audio: ^0.6.2+2 copied to clipboard

outdated

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-web.flutter-io.cn 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
0
pub points
86%
popularity

Publisher

verified publisherdaohoangson.com

WidgetFactory extension to render AUDIO with the just_audio plugin.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, flutter_widget_from_html_core, just_audio

More

Packages that depend on fwfh_just_audio