getAspectRatio method
Implementation
double getAspectRatio() {
if (_videoPlayerController == null) {
return 16 / 9;
}
return _videoPlayerController!.value.size.width /
_videoPlayerController!.value.size.height;
}
double getAspectRatio() {
if (_videoPlayerController == null) {
return 16 / 9;
}
return _videoPlayerController!.value.size.width /
_videoPlayerController!.value.size.height;
}