AudioPool class
音频池,用于实现多个音效的并发播放
Properties
- currentPlayerIndex ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
players
→ List<
AudioPlayer> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
play(
String assetPath) → Future< void> - 播放音效
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited