BlurEditorInitConfigs constructor

const BlurEditorInitConfigs({
  1. ProImageEditorConfigs configs = const ProImageEditorConfigs(),
  2. TransformConfigs? transformConfigs,
  3. List<Layer>? layers,
  4. ProImageEditorCallbacks callbacks = const ProImageEditorCallbacks(),
  5. Size? mainImageSize,
  6. Size? mainBodySize,
  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 BlurEditorInitConfigs.

The theme parameter specifies the theme data for the editor. The imageSize parameter specifies the size of the image. 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 BlurEditorInitConfigs({
  super.configs,
  super.transformConfigs,
  super.layers,
  super.callbacks,
  super.mainImageSize,
  super.mainBodySize,
  super.appliedFilters,
  super.appliedBlurFactor,
  super.onCloseEditor,
  super.onImageEditingComplete,
  super.onImageEditingStarted,
  super.convertToUint8List,
  required super.theme,
});