getPath method
Implementation
@override
Path getPath(Size size) {
final rrect = RRect.fromLTRBAndCorners(0, 0, size.width, size.height,
topLeft: borderRadius.topLeft,
topRight: borderRadius.topRight,
bottomLeft: borderRadius.bottomLeft,
bottomRight: borderRadius.bottomRight);
return _getPath(rrect);
}