fwfh_just_audio

Last updated:

0 purchases

fwfh_just_audio Image
fwfh_just_audio Images
Add to Cart

Description:

fwfh just audio

JustAudioFactory #



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.15.2
copied to clipboard
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 {
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.