TrimOptions class

Configuration options for Tool.trim.

Constructors

TrimOptions({List<TrimCanvasAction>? canvasActions, double? minimumDuration, double? maximumDuration, ForceTrimMode? forceMode})
Creates new TrimOptions.

Properties

canvasActions List<TrimCanvasAction>?
Defines all allowed actions for the trim tool that are displayed as overlay buttons on the canvas. Only buttons for allowed actions are visible.
final
forceMode ForceTrimMode?
With the force trim option, you're able to enforce a minimumDuration and maximumDuration for a video composition in the composition tool and/or a single video in the trim tool. Thus users will not be able to export videos, which are not within the defined video duration limits. This feature is implemented as part of the user interface only. To be able to use this feature your subscription must include the trim feature.
final
hashCode int
The hash code for this object.
no setterinherited
maximumDuration double?
Enforces a maximum allowed duration in seconds for the edited video for the trim and composition tool if set to a value different from null. See forceMode for additional options.
final
minimumDuration double?
Enforces a minimum allowed duration in seconds for the edited video for the trim and composition tool. The minimum allowed value is 0.5 seconds. See forceMode for additional options.
final
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