audioplayer 0.1.0 audioplayer: ^0.1.0 copied to clipboard
A flutter plugin to play audio files
Changelog #
0.0.2 #
Separated handlers for position, duration, completion and errors
-
setDurationHandler(TimeChangeHandler handler)
-
setPositionHandler(TimeChangeHandler handler)
-
setCompletionHandler(VoidCallback callback)
-
setErrorHandler(ErrorHandler handler)
-
new typedef
typedef void TimeChangeHandler(Duration duration);
typedef void ErrorHandler(String message);
0.0.1 #
- first POC :
- methods : play, pause, stop
- a globalHandler for position, duration, completion and errors