fwfh_just_audio 0.9.0+1 copy "fwfh_just_audio: ^0.9.0+1" to clipboard
fwfh_just_audio: ^0.9.0+1 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://demo.fwfh.dev/#/audio

Getting Started #

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

dependencies:
  flutter_widget_from_html_core: any
  fwfh_just_audio: ^0.9.0

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
0
pub points
82%
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