createEmptyBarBasePath method
Path
createEmptyBarBasePath(
- Size size
)
Implementation
Path createEmptyBarBasePath(Size size) {
final Path pathBase = Path();
pathBase.moveTo(0, 0);
pathBase.quadraticBezierTo(0, 0, size.width, 0);
pathBase.moveTo(size.width, 0);
pathBase.quadraticBezierTo(size.width, 0, size.width, size.height);
pathBase.moveTo(size.width, size.height);
pathBase.quadraticBezierTo(size.width, size.height, 0, size.height);
pathBase.moveTo(0, size.height);
pathBase.quadraticBezierTo(0, (size.height), 0, 0);
return pathBase;
}