PaintEditorInitConfigs constructor
const
PaintEditorInitConfigs({
- ProImageEditorConfigs configs = const ProImageEditorConfigs(),
- ProImageEditorCallbacks callbacks = const ProImageEditorCallbacks(),
- TransformConfigs? transformConfigs,
- List<
Layer> ? layers, - Size? mainImageSize,
- Size? mainBodySize,
- FilterMatrix appliedFilters = const [],
- double appliedBlurFactor = 0,
- ImageEditingEmptyCallback? onCloseEditor,
- ImageEditingCompleteCallback? onImageEditingComplete,
- dynamic onImageEditingStarted()?,
- bool convertToUint8List = false,
- bool enableFakeHero = false,
- required ThemeData theme,
Creates a new instance of PaintEditorInitConfigs.
The theme
parameter specifies the theme data for the editor.
The imageSize
parameter specifies the size of the image.
The paddingHelper
parameter specifies additional padding for the editor.
The other parameters are inherited from EditorInitConfigs.
Implementation
const PaintEditorInitConfigs({
super.configs,
super.callbacks,
super.transformConfigs,
super.layers,
super.mainImageSize,
super.mainBodySize,
super.appliedFilters,
super.appliedBlurFactor,
super.onCloseEditor,
super.onImageEditingComplete,
super.onImageEditingStarted,
super.convertToUint8List,
this.enableFakeHero = false,
required super.theme,
});