diagonal_wipe_icon
library
Enums
-
WipeDirection
-
The direction in which the wipe boundary travels across the widget bounds.
Functions
-
buildWipeBoundaryLine({required double width, required double height, required double progress, required WipeDirection direction})
→ ({Offset end, Offset start})?
-
Returns the visible wipe boundary line for debugging or custom painting.
-
buildWipeRevealPath({required double width, required double height, required double progress, required WipeDirection direction, double seamOverlapPx = 0})
→ Path
-
Builds the clipping path that reveals the destination widget for
progress.
-
wipeTravelDistance(double width, double height, WipeDirection direction)
→ double
-
Returns the distance the wipe boundary must travel to fully cross a box.