PathAnimation constructor
const
PathAnimation({})
The direction of the path animation. Constructor for the PathAnimation widget.
Implementation
/// Constructor for the PathAnimation widget.
const PathAnimation({
Key? key,
required this.child,
required this.path,
this.duration = const Duration(seconds: 3),
this.reversePath = false,
this.direction = PathDirection.forward,
}) : super(key: key);