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

outdated

WidgetFactory extension to render AUDIO with the just_audio plugin.

example/main.dart

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

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'fwfh_just_audio',
      home: Scaffold(
        appBar: AppBar(
          title: const Text('JustAudioFactory Demo'),
        ),
        body: Center(
          child: HtmlWidget(
            '''
<audio src="https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3">
  Your browser does not support the <code>audio</code> element.
</audio>''',
            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