SpoilerMask class
Configuration for applying a mask to the spoiler effect.
A mask defines a specific area where the spoiler effect is applied using a Path and a PathOperation to determine how the mask interacts with the spoiler area.
Constructors
- SpoilerMask.new({required Path maskPath, required PathOperation maskOperation, Offset offset = Offset.zero})
- Creates a mask configuration with the given path, operation, and optional offset.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maskOperation → PathOperation
-
The operation defining how the mask interacts with the spoiler content.
final
- maskPath → Path
-
The shape or area used as the mask.
final
- offset → Offset
-
The offset to shift the mask position.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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