AudioWidget constructor
AudioWidget({})
Implementation
AudioWidget({
Key? key,
required this.audio,
required this.child,
this.volume = 1.0,
this.play = true,
this.loopMode = LoopMode.none,
this.onPositionChanged,
this.initialPosition = const Duration(),
this.onReadyToPlay,
this.onFinished,
}) : super(key: key);