VideoEditValues class
Per-entry video edit state: the trim range and mute, the crop geometry
and the rasterised paint overlay. Owned by ComposeEntry and carried by
ComposeResult to the sender, which bakes it through XVideoExporter.
Null bounds mean "keep the source edge"; a values object with nothing
set is equivalent to no edits.
- Annotations
Constructors
- VideoEditValues({Duration? trimStart, Duration? trimEnd, bool muted = false, VideoCropGeometry? crop, VideoDrawOverlay? overlay})
-
No edits unless a field is set.
const
Properties
- crop → VideoCropGeometry?
-
Baked crop/rotate/flip geometry, or null for no geometric edit.
When set, the export re-encodes (vs. the trim/mute passthrough).
final
- hasEdits → bool
-
Whether sending must run the export at all.
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- muted → bool
-
Send without the audio track.
final
- overlay → VideoDrawOverlay?
-
Rasterised paint strokes, or null when nothing is drawn. Always
rides the re-encode path (composited before crop's affine).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trimEnd → Duration?
-
Trim range end, null = source end.
final
- trimStart → Duration?
-
Trim range start, null = source start.
final
Methods
-
copyWith(
{Duration? trimStart, Duration? trimEnd, bool? muted, VideoCropGeometry? crop, VideoDrawOverlay? overlay, bool clearTrimStart = false, bool clearTrimEnd = false, bool clearCrop = false, bool clearOverlay = false}) → VideoEditValues - These values with the given fields replaced.
-
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.
override