Flutter-MVVM icon indicating copy to clipboard operation
Flutter-MVVM copied to clipboard

play_widget.dart

Open longfit opened this issue 4 years ago • 1 comments

hi

after upgrade audioplayers to 0.19.0

below both of not defined error shown

_audioPlayer.startHeadlessService(); _audioPlayer.setNotification

The method 'startHeadlessService' isn't defined for the class 'AudioPlayer'.
  • 'AudioPlayer' is from 'package:audioplayers/src/audioplayer.dart' ('/home/ykwings/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.19.0/lib/src/audioplayer.dart'). Try correcting the name to the name of an existing method, or defining a method named 'startHeadlessService'. _audioPlayer.startHeadlessService();

longfit avatar Jun 02 '21 15:06 longfit

same issue for me

ChristopheTiet avatar Jun 03 '21 09:06 ChristopheTiet