SpoilerContext class
Context object containing all state required for drawing the spoiler.
Constructors
-
SpoilerContext({required bool isFading, required double fadeRadius, required Offset fadeCenter, required Rect spoilerBounds, required List<
Rect> spoilerRects, required SpoilerConfig config}) -
const
Properties
- config → SpoilerConfig
-
final
- fadeCenter → Offset
-
final
- fadeRadius → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFading → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spoilerBounds → Rect
-
final
-
spoilerRects
→ List<
Rect> -
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