diagonal_wipe_icon library

Classes

AnimatedDiagonalWipe
Animates between two widgets by revealing the destination widget with a diagonal, horizontal, or vertical wipe.
DiagonalWipeTransition
Paints the wipe effect for an explicit Animation that drives progress from 0.0 to 1.0.

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.