StateManager class

A class for managing the state and history of image editing changes.

Constructors

StateManager()

Properties

activeBlur → double
Get the blur from the current image editor changes.
no setter
activeFilters → FilterMatrix
Get the list of filters from the current image editor changes.
no setter
activeLayers → List<Layer>
Get the list of layers from the current image editor changes.
no setter
activeScreenshot → ThreadCaptureState?
no setter
activeScreenshotIsBroken → bool?
Check if the active screenshot is broken.
no setter
hashCode → int
The hash code for this object.
no setterinherited
heroScreenshotRequired ↔ bool
Flag indicating if a hero screenshot is required.
getter/setter pair
position ↔ int
Position in the state history.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
screenshots ↔ List<ThreadCaptureState>
List of captured screenshots for each state in the history.
getter/setter pair
stateHistory ↔ List<EditorStateHistory>
List to store the history of image editor changes.
getter/setter pair
transformConfigs → TransformConfigs
Get the transformconfigurations from the crop/ rotate editor.
no setter

Methods

cleanForwardChanges() → void
Clean forward changes in the history.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setHistoryLimit(int limit) → void
Set the history limit to manage the maximum number of stored states.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited