Configuration class

Configuration options and asset definitions for image and video editing tasks.

Constructors

Configuration({AdjustmentOptions adjustment, BrushOptions brush, bool enableZoom, ExportOptions export, FilterOptions filter, FocusOptions focus, bool forceCrop, FrameOptions frame, List<MainCanvasAction> mainCanvasActions, OverlayOptions overlay, SnappingOptions snapping, StickerOptions sticker, TextOptions text, TextDesignOptions textdesign, List<Tool> tools, TransformOptions transform})
Creates a new Configuration.

Properties

adjustment AdjustmentOptions
Configuration options for Tool.adjustment.
final
brush BrushOptions
Configuration options for Tool.brush.
final
enableZoom bool
Controls if the user can zoom the preview image. [...]
final
export ExportOptions
Export configuration options.
final
filter FilterOptions
Configuration options for Tool.filter.
final
focus FocusOptions
Configuration options for Tool.focus.
final
forceCrop bool
When set to true, the user is forced to crop the asset to one of the allowed crop ratios in transform.items before being able to use other features of the editor. The transform tool will only be presented if the image does not already fit one of the allowed aspect ratios. It will be presented automatically, if the user changes the orientation of the asset and the result does not match an allowed aspect ratio. [...]
final
frame FrameOptions
Configuration options for Tool.frame.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
mainCanvasActions List<MainCanvasAction>
Defines all allowed actions for the main screen that are displayed as overlay buttons on the canvas. Only buttons for allowed actions are visible. [...]
final
overlay OverlayOptions
Configuration options for Tool.overlay.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
snapping SnappingOptions
Global snapping options for all sprites, e.g., stickers, texts, and text designs.
final
sticker StickerOptions
Configuration options for Tool.sticker.
final
text TextOptions
Configuration options for Tool.text.
final
textdesign TextDesignOptions
Configuration options for Tool.textDesign.
final
tools List<Tool>
The menu items (or tools) to display in the main menu. [...]
final
transform TransformOptions
Configuration options for Tool.transform.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
Converts a Configuration to a Map.
toString() String
A string representation of this object. [...]
inherited

Operators

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