ExportStateHistory class

Class responsible for exporting the state history of the editor.

This class allows you to export the state history of the editor, including layers, filters, stickers, and other configurations.

Constructors

ExportStateHistory(ProImageEditorConfigs _editorConfigs, List<EditorStateHistory> stateHistory, ImageInfos imageInfos, Size _imgSize, int _editorPosition, {required BuildContext context, ExportEditorConfigs configs = const ExportEditorConfigs()})
Constructs an ExportStateHistory object with the given parameters.

Properties

context BuildContext
final
hashCode int
The hash code for this object.
no setterinherited
imageInfos ImageInfos
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stateHistory List<EditorStateHistory>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFile({String? path}) Future<File>
Converts the state history to a JSON file.
toJson() Future<String>
Converts the state history to a JSON string.
toMap() Future<Map>
Converts the state history to a Map.
toString() String
A string representation of this object.
inherited

Operators

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