Ю
Size: a a a
Ю
SR
DS
DS
ПЛ
K
КА
ПЛ
КА
КА
КА
АК
КА
КА
КА
Ю
Z
AK
Привет
, не подскажете. почему может не отлавливаться исключение?Future<void> init(PlayerSource source) async {
try {
fireStatusUpdated();
final oldController = _videoPlayerController;
_videoPlayerController = _makeController(source);
WidgetsBinding.instance.addPostFrameCallback((_) async {
await oldController?.dispose();
});
await _videoPlayerController.initialize();
fireStatusLoaded();
await _videoPlayerController.play();
} on PlatformException catch (e) {
fireStatusError(e);
}
}