audioplayer2 0.5.2 audioplayer2: ^0.5.2 copied to clipboard
A flutter plugin to play audio files
Changelog #
0.5.2 #
- change podspec name to audioplayer2
0.5.1 #
- rename package to audioplayer2 to indicate this is a new fork
- merge PR from dp-singh to update Android SDK version
- merge PR from ThinkDigitalRepair to update deprecated Android code
- merge PR form mit-mit to declare support for Dart 2.0 stable in the Dart SDK upper constraint
0.5.0 #
- BREAKING Change: No more separate handlers for communicating the state of the player. Instead we rely on streams to publish state changes and position updates.
- Code formatting and flow improvements. Preparation for testing.
0.4.0 #
- Feat : merge PR from mindon with mute methods and various improvements
- fixes Future
- Example : add a slider to demonstrate the seek feature
0.3.0 #
- merge PR from johanhenselmans to switch iOS to ObjectiveC
- merge PR from oaks to add the seek feature
0.2.0 #
- support for local files
0.1.0 #
- update to the current Plugin API
- move to https://github.com/rxlabz/audioplayer
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