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