EditorInitConfigs class abstract

Configuration class for initializing the image editor.

This class holds various configurations needed to initialize the image editor.

Implementers

Constructors

EditorInitConfigs({required ThemeData theme, ProImageEditorConfigs configs = const ProImageEditorConfigs(), ProImageEditorCallbacks callbacks = const ProImageEditorCallbacks(), Size? mainImageSize, Size? mainBodySize, TransformConfigs? transformConfigs, FilterMatrix appliedFilters = const [], double appliedBlurFactor = 0, List<Layer>? layers, ImageEditingEmptyCallback? onCloseEditor, ImageEditingCompleteCallback? onImageEditingComplete, dynamic onImageEditingStarted()?, bool convertToUint8List = false})
Creates a new instance of EditorInitConfigs.
const

Properties

appliedBlurFactor double
The applied blur factor.
final
appliedFilters FilterMatrix
The list of applied filters.
final
callbacks ProImageEditorCallbacks
The callbacks for the image editor.
final
configs ProImageEditorConfigs
The configuration options for the image editor.
final
convertToUint8List bool
Determines whether to return the image as a Uint8List when closing the editor.
final
hashCode int
The hash code for this object.
no setterinherited
layers List<Layer>?
The layers in the editor.
final
mainBodySize Size?
The size of the body with layers applied.
final
mainImageSize Size?
The size of the image in the main editor.
final
onCloseEditor ImageEditingEmptyCallback?
A callback function that will be called before the image editor will close.
final
onImageEditingComplete ImageEditingCompleteCallback?
A callback function that will be called when the editing is done, and it returns the edited image as a Uint8List with the format jpg.
final
onImageEditingStarted → (dynamic Function()?)
A callback function that is triggered when the image generation is started.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
theme ThemeData
The theme data for the editor.
final
transformConfigs TransformConfigs?
The transformation configurations for the editor.
final

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