play 0.0.10 play: ^0.0.10 copied to clipboard
a library dart simple for play audio or video any format on cross platform.
Play library #
Fast, Enjoyable & Customizable Play library
Play Library untuk memutar video dan audio cross platform dengan mudah hanya menambah code pada dart, example sudah ada di
Features #
- 🚀 Cross platform: mobile, desktop, browser
- ⚡ Great performance
- ❤️ Simple, powerful, & intuitive API
Demo #
Install Library #
dart pub add play
flutter pub add play
Quickstart #
Audio Player
Scaffold(
---
Audio(
file: File(path),
videoViewBuilder: (Widget child, Audio audio, AudioState audioState) {
return child;
}
);
---
)
Video Player
Scaffold(
---
Video(
file: File(path),
videoViewBuilder: (Widget child, Video video, VideoState videoState) {
return child;
}
);
---
)