FilterEditorInitConfigs constructor

const FilterEditorInitConfigs({
  1. TransformConfigs? transformConfigs,
  2. ProImageEditorConfigs configs = const ProImageEditorConfigs(),
  3. ProImageEditorCallbacks callbacks = const ProImageEditorCallbacks(),
  4. Size? mainImageSize,
  5. Size? mainBodySize,
  6. List<Layer>? layers,
  7. FilterMatrix appliedFilters = const [],
  8. double appliedBlurFactor = 0,
  9. ImageEditingEmptyCallback? onCloseEditor,
  10. ImageEditingCompleteCallback? onImageEditingComplete,
  11. dynamic onImageEditingStarted()?,
  12. bool convertToUint8List = false,
  13. required ThemeData theme,
})

Creates a new instance of FilterEditorInitConfigs.

The theme parameter specifies the theme data for the editor. The convertToUint8List parameter determines whether to return the image as a Uint8List when closing the editor. The other parameters are inherited from EditorInitConfigs.

Implementation

const FilterEditorInitConfigs({
  super.transformConfigs,
  super.configs,
  super.callbacks,
  super.mainImageSize,
  super.mainBodySize,
  super.layers,
  super.appliedFilters,
  super.appliedBlurFactor,
  super.onCloseEditor,
  super.onImageEditingComplete,
  super.onImageEditingStarted,
  super.convertToUint8List,
  required super.theme,
});