ExportStateHistory constructor

ExportStateHistory(
  1. ProImageEditorConfigs _editorConfigs,
  2. List<EditorStateHistory> stateHistory,
  3. ImageInfos imageInfos,
  4. Size _imgSize,
  5. int _editorPosition, {
  6. required BuildContext context,
  7. 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;