shouldReclip method
- covariant CustomClipper<
Path> oldClipper
override
Reclip only if any of the inset parameters have changed.
Implementation
@override
bool shouldReclip(covariant CustomClipper<Path> oldClipper) {
return oldClipper is! ZdsBorderClipper ||
oldClipper.top != top ||
oldClipper.bottom != bottom ||
oldClipper.left != left ||
oldClipper.right != right;
}