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