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