LoadedSound class

A sound loaded from some kind of source.

Inheritance

Properties

duration Duration
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
volume double
A double greater than 0 (values greater than 1 may behave differently from platform to platform).
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() → void
Stop the sound, but keep it's position.
inherited
play() → void
Starts the sound. Played from the beginning if was paused.
inherited
playLooped({Duration delay = Duration.zero}) → void
Starts sound with looping.
resume() → void
Starts the sound. Continues if was paused.
inherited
stop() → void
Stops the sound and resets it's position.
override
toString() String
A string representation of this object.
inherited
unload() → void
inherited

Operators

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