FilterEditorConfigs class

Configuration options for a filter editor.

FilterEditorConfigs allows you to define settings for a filter editor, including whether the editor is enabled and a list of filter generators.

Example usage:

FilterEditorConfigs(
  enabled: true,
  filterList: [
    ColorFilterGenerator.contrast(1.5),
    ColorFilterGenerator.brightness(0.7),
  ],
);

Constructors

FilterEditorConfigs({bool enabled = true, bool showLayers = true, List<FilterModel>? filterList})
Creates an instance of FilterEditorConfigs with optional settings.
const

Properties

enabled bool
Indicates whether the filter editor is enabled.
final
filterList List<FilterModel>?
A list of color filter generators to apply to an image.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showLayers bool
Show also layers in the editor.
final

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