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(), Function? onUpdateUI, Size imageSizeWithLayers = Size.zero, Size bodySizeWithLayers = Size.zero, TransformConfigs? transformConfigs, List<FilterStateHistory> appliedFilters = const [], double appliedBlurFactor = 0, List<Layer>? layers})
Creates a new instance of EditorInitConfigs.
const

Properties

appliedBlurFactor double
The applied blur factor.
final
appliedFilters List<FilterStateHistory>
The list of applied filter history.
final
bodySizeWithLayers Size
The size of the body with layers applied.
final
configs ProImageEditorConfigs
The configuration options for the image editor.
final
hashCode int
The hash code for this object.
no setterinherited
imageSizeWithLayers Size
The size of the image with layers applied.
final
layers List<Layer>?
The layers in the editor.
final
onUpdateUI Function?
A callback function that can be used to update the UI from custom widgets.
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