playString method
Sound
playString({
- required String string,
- bool keepAlive = false,
- double gain = 0.7,
- bool looping = false,
- double pitchBend = 1.0,
override
Play a sound from the given string
.
Implementation
@override
Sound playString({
required final String string,
final bool keepAlive = false,
final double gain = 0.7,
final bool looping = false,
final double pitchBend = 1.0,
}) =>
SilentSound(
channel: this,
gain: gain,
keepAlive: keepAlive,
looping: looping,
pitchBend: pitchBend,
);