InterfacePlayer class

Implementers

Constructors

InterfacePlayer()

Properties

currentFile Future<InterfaceFile>
read-only
currentTime Future<num>
read-only
duration Future<num>
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
isPlaying Future<bool>
read-only
listenersDetachPlayerView ObserverList<dynamic Function()>
read / write
listenersPlayerInfo ObserverList<ListenerPlayerInfoFunction>
read / write
listenersPlayerScreen ObserverList<dynamic Function(Widget playerView)>
Listeners List of methods to be called when a trigger comes in.
read / write
playerView Widget
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
secondsLeft Future<num>
read-only

Methods

addFilesToPlayList(List<InterfaceFile> files) Future<bool>
addFileToPlayList(InterfaceFile file) Future<bool>
addListenerDetachPlayerView(dynamic callback()) → void
addListenerPlayerInfo(ListenerPlayerInfoFunction callback) → dynamic
[...]
addListenerPlayerScreen(dynamic callback(Widget playerView)) → void
[...]
changeTime(num toSecond) Future<bool>
emptyPlayList() Future<bool>
fastBackward() Future<bool>
fastForward() Future<bool>
getPlayList() Future<List<InterfaceFile>>
next() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
pause() Future<bool>
play() Future<bool>
playWithFile(InterfaceFile file) Future<bool>
previous() Future<bool>
removeFromPlayList(InterfaceFile file) Future<bool>
removeListenerDetachPlayerView(dynamic callback()) → void
removeListenerPlayerInfo(ListenerPlayerInfoFunction callback) → dynamic
removeListenerPlayerScreen(dynamic callback(Widget playerView)) → void
setImagePlaceHolder(String path) Future<bool>
setPlayerView({num width = 0, num height = 0, bool isProtectAspectRation = true}) → void
setRepeatMode(PlayMode mode) Future<bool>
stop() Future<bool>
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited