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