|
|
@ -223,8 +223,8 @@ class AudioPlayerState extends State<AudioPlayerWidget> {
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
for (var i = 0; i < AudioPlayerWidget.wavesCount; i++)
|
|
|
|
for (var i = 0; i < AudioPlayerWidget.wavesCount; i++)
|
|
|
|
Expanded(
|
|
|
|
Expanded(
|
|
|
|
child: InkWell(
|
|
|
|
child: GestureDetector(
|
|
|
|
onTap: () => audioPlayer?.seek(
|
|
|
|
onTapDown: (_) => audioPlayer?.seek(
|
|
|
|
Duration(
|
|
|
|
Duration(
|
|
|
|
milliseconds:
|
|
|
|
milliseconds:
|
|
|
|
(maxPosition / AudioPlayerWidget.wavesCount)
|
|
|
|
(maxPosition / AudioPlayerWidget.wavesCount)
|
|
|
|