VideoResizeTValue enum

Inheritance

Constructors

VideoResizeTValue(String _value)
const

Values

PreserveRatio → const VideoResizeTValue

Preserve the aspect ratio of the original file.

const VideoResizeTValue('preserve_ratio')
BreakRatio → const VideoResizeTValue

Match the output video to provided dimensions, no matter the original aspect ratio.

const VideoResizeTValue('break_ratio')
ScaleCrop → const VideoResizeTValue

Match the output video to provided dimensions, crop the rest of the pixels along one of the axes (top/bottom or left/right).

const VideoResizeTValue('scale_crop')
AddPadding → const VideoResizeTValue

Letterbox the video to match the output frame size exactly (add black bars).

const VideoResizeTValue('add_padding')

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.
override

Operators

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

Constants

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