Music class

Plays music on a loop.

Constructors

Music(SoundPool pool, String url, {AudioNode output, num volume = 0.5})

Properties

gain AudioNode
Used to set the volume of music.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
source AudioBufferSourceNode
The source to play.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
stop(num when) → void
Stop the music. [...]
toString() String
A string representation of this object. [...]
inherited

Operators

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