Play class

Constructors

Play({bool events = true, bool osc = false, bool gui = false, String? vo, bool pitch = false, String? libmpv, String? title, void ready()?})

Properties

hashCode int
The hash code for this object.
no setterinherited
player Player
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(String media) Future<void>
jump(int index, {bool open = false}) Future<void>
move(int from, int to) Future<void>
next() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open({required List<String> medias, bool play = true, bool evictCache = true}) Future<void>
pause() Future<void>
pitch(double pitch) → void
play() Future<void>
playOrPause() Future<void>
previous() Future<void>
rate(double rate) → void
remove(int index) Future<void>
seek(Duration duration) Future<void>
shuffle(bool shuffle) → void
template() Future<void>
toString() String
A string representation of this object.
inherited
volume(double volum) → void

Operators

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