registerPlayer function
Implementation
void registerPlayer(BuildContext context, SoundPlayerUIState player) {
var controller = RecorderPlaybackController.of(context)?._state;
if (controller != null) {
controller._playerState = player;
}
}
void registerPlayer(BuildContext context, SoundPlayerUIState player) {
var controller = RecorderPlaybackController.of(context)?._state;
if (controller != null) {
controller._playerState = player;
}
}