howle 0.1.0 copy "howle: ^0.1.0" to clipboard
howle: ^0.1.0 copied to clipboard

howler.js binding with dart:js_interop

howler.js dart:js_interop binding #

usage #

1、add howler.js to index.html

  <!-- <script src="https://cdn.jsdelivr.net/npm/howler@2.2.4/dist/howler.min.js"></script> -->
  <script src="assets/js/howler.min.js"></script>
  <script src="assets/js/howler.spatial.min.js"></script>

2、import howle and use it

import 'package:howle/howle.dart';
Howl howl = Howl(HowlOptions(src: 'https://hangf-1253488539.cos.ap-nanjing.myqcloud.com/sound/01.%20Black%20Swan.mp3'.toJS));
howl.play();
howl.stop();

attention #

only support web platform!!!

1
likes
0
points
21
downloads

Publisher

verified publisherhumphreyd.cn

Weekly Downloads

howler.js binding with dart:js_interop

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, web

More

Packages that depend on howle