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({required ProImageEditorConfigs editorConfigs, required List<
EditorStateHistory> stateHistory, required ImageInfos imageInfos, required Size imgSize, required int editorPosition, required ContentRecorderController contentRecorderCtrl, required BuildContext context, ExportEditorConfigs configs = const ExportEditorConfigs()}) - Constructs an ExportStateHistory object with the given parameters.
Properties
- contentRecorderCtrl ↔ ContentRecorderController
-
getter/setter pair
- context → BuildContext
-
final
- editorConfigs → ProImageEditorConfigs
-
final
- editorPosition → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageInfos → ImageInfos
-
final
- imgSize → Size
-
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