FilterEditorInitConfigs class
Configuration class for initializing the filter editor.
This class extends EditorInitConfigs and adds a parameter to determine whether to return the image as a Uint8List when closing the editor.
- Inheritance
-
- Object
- EditorInitConfigs
- FilterEditorInitConfigs
Constructors
-
FilterEditorInitConfigs({TransformConfigs? transformConfigs, ProImageEditorConfigs configs = const ProImageEditorConfigs(), Function? onUpdateUI, Size imageSizeWithLayers = Size.zero, Size bodySizeWithLayers = Size.zero, List<
Layer> ? layers, List<FilterStateHistory> appliedFilters = const [], double appliedBlurFactor = 0, required ThemeData theme, bool convertToUint8List = false}) -
Creates a new instance of FilterEditorInitConfigs.
const
Properties
- appliedBlurFactor → double
-
The applied blur factor.
finalinherited
-
appliedFilters
→ List<
FilterStateHistory> -
The list of applied filter history.
finalinherited
- bodySizeWithLayers → Size
-
The size of the body with layers applied.
finalinherited
- configs → ProImageEditorConfigs
-
The configuration options for the image editor.
finalinherited
- convertToUint8List → bool
-
Determines whether to return the image as a Uint8List when closing the editor.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageSizeWithLayers → Size
-
The size of the image with layers applied.
finalinherited
-
layers
→ List<
Layer> ? -
The layers in the editor.
finalinherited
- onUpdateUI → Function?
-
A callback function that can be used to update the UI from custom widgets.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- theme → ThemeData
-
The theme data for the editor.
finalinherited
- transformConfigs → TransformConfigs?
-
The transformation configurations for the editor.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited