maxViewportRatio property

double maxViewportRatio
final

The maxViewportRatio param specifies the upper limit of the view ratio This param is useful to avoid having a trimmer way too wide, which is not usuable and performances consuming

The default view port value equals to controller.videoDuration / controller.maxDuration To disable the extended trimmer view, maxViewportRatio should be set to 3

Defaults to 2.5

Implementation

final double maxViewportRatio;