VideoRenderMode enum

Video display modes.

Inheritance

Constructors

VideoRenderMode()
const

Values

Hidden → const VideoRenderMode

1: Uniformly scale the video until one of its dimension fits the boundary (zoomed to fit). Hidden mode. One dimension of the video may have clipped contents.

Fit → const VideoRenderMode

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

Adaptive → const VideoRenderMode

Deprecated: 3: This mode is deprecated.

FILL → const VideoRenderMode

4: 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.