aspectRatio property
double
get
aspectRatio
Aspect ratio of the video frame, in pixels.
Implementation
double get aspectRatio => //
height > 0 && width > 0 //
? width / height
: 1;
Aspect ratio of the video frame, in pixels.
double get aspectRatio => //
height > 0 && width > 0 //
? width / height
: 1;