CompositionOptions class

Configuration options for Tool.composition.

Constructors

CompositionOptions({List<VideoClipCategory>? categories, bool? personalVideoClips, ClipTrimOptions? clipTrimOptions, List<CompositionCanvasAction>? canvasActions})
Creates new CompositionOptions.

Properties

canvasActions List<CompositionCanvasAction>?
Defines all allowed actions for the composition tool that are displayed as overlay buttons on the canvas. Only buttons for allowed actions are visible.
final
categories List<VideoClipCategory>?
Defines all available video clips in the video clip library. Each video clip must be assigned to a category.
final
clipTrimOptions ClipTrimOptions?
Configuration options for trimming individual video clips of the video composition.
final
hashCode int
The hash code for this object.
no setterinherited
personalVideoClips bool?
If enabled the user can add personal video clips from the device's media library. A button is added as last item in the composition menu or as first item in the video clip library menu in front of the video clip categories if any categories are defined.
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