getShouldRepaintValue method
Get shoudlRepaintValue
Implementation
bool getShouldRepaintValue(
covariant ActiveInActiveWaveformPainter oldDelegate,
) {
return activeRatio != oldDelegate.activeRatio ||
activeColor != oldDelegate.activeColor ||
inactiveColor != oldDelegate.inactiveColor ||
!checkforSamplesEquality(samples, oldDelegate.samples) ||
color != oldDelegate.color ||
gradient != oldDelegate.gradient ||
waveformAlignment != oldDelegate.waveformAlignment ||
sampleWidth != oldDelegate.sampleWidth ||
strokeWidth != oldDelegate.strokeWidth ||
style != oldDelegate.style;
}