sRecPathProvider static method
Implementation
static Path sRecPathProvider(Size size, double progress) {
double top = size.height * (1 - progress);
return Path()
..moveTo(0, top)
..lineTo(size.width, top)
..lineTo(size.width, size.height)
..lineTo(0, size.height)
..close();
}