VideoRenderMode enum

Video display mode.

Inheritance
Available extensions

Values

Hidden → const VideoRenderMode

Uniformly scale the video until it fills the visible boundaries (cropped). One dimension of the video may have clipped contents.

Fit → const VideoRenderMode

Uniformly scale the video until one of its dimension fits the boundary (zoomed to fit). Areas that are not filled due to the disparity in the aspect ratio are filled with black.

Adaptive → const VideoRenderMode

This mode is deprecated.

FILL → const VideoRenderMode

The fill mode. In this mode, the SDK stretches or zooms the video to fill the display window.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<VideoRenderMode>
A constant List of the values in this enum, in order of their declaration.