ExportStateHistory constructor
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.
The stateHistory, _imgStateHistory
, _imgSize
, and _editorPosition
parameters are required, while the configs
parameter is optional and
defaults to ExportEditorConfigs().
Implementation
ExportStateHistory(
this._editorConfigs,
this.stateHistory,
this.imageInfos,
this._imgSize,
this._editorPosition, {
required this.context,
ExportEditorConfigs configs = const ExportEditorConfigs(),
}) : _configs = configs;