shouldRepaint method
Define in what conditions the path should be repainted
Implementation
@override
bool shouldRepaint(covariant EtchPathElement oldElement) {
if (oldElement.runtimeType != runtimeType) {
return true;
}
var e = oldElement as EtchPathArcTo;
return _rect != e._rect ||
_topLeftAlignment != e._topLeftAlignment ||
_bottomRightAlignment != e._bottomRightAlignment;
}