flutter-meedu-player
flutter-meedu-player copied to clipboard
RX Data tybe ?
The argument type 'Rx<Duration>' can't be assigned to the parameter type 'Duration'.
The argument type 'Rx' can't be assigned to the parameter type 'Duration'.
@Joseph-Nathan please add your code and and screenshot of your log
The argument type 'Rx<Duration>' can't be assigned to the parameter type 'Duration'. try to get position _controller.position ; v 0.4.1 and above .
The argument type 'Rx' can't be assigned to the parameter type 'Duration'. try to get position _controller.position ; v 0.4.1 and above . hi @Joseph-Nathan the new version of this plugin use reactive programing so the property position is a instance of Rx<Duration> you can get the current position using a StreamSubscription.
Here an example http://player.meedu.app/#/listening-player-events