Ю
Size: a a a
Ю
Ю
AK
Ю
AK
} catch (e) {Хотя почему-то до этого не работала
fireStatusError(e);
}
AK
Ю
P
Ю
ОС
Привет
, не подскажете. почему может не отлавливаться исключение?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);
}
}
Z
КА
КА
КА
Sλ
@
@
КА