BlurEditorInitConfigs constructor
const
BlurEditorInitConfigs({
- ProImageEditorConfigs configs = const ProImageEditorConfigs(),
- TransformConfigs? transformConfigs,
- List<
Layer> ? layers, - ProImageEditorCallbacks callbacks = const ProImageEditorCallbacks(),
- Size? mainImageSize,
- Size? mainBodySize,
- FilterMatrix appliedFilters = const [],
- double appliedBlurFactor = 0,
- ImageEditingEmptyCallback? onCloseEditor,
- ImageEditingCompleteCallback? onImageEditingComplete,
- dynamic onImageEditingStarted()?,
- bool convertToUint8List = false,
- 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,
});