getShouldRepaintValue method

bool getShouldRepaintValue(
  1. covariant InActiveWaveformPainter oldDelegate
)

Get shoudlRepaintValue

Implementation

bool getShouldRepaintValue(covariant InActiveWaveformPainter oldDelegate) {
  return !checkforSamplesEquality(samples, oldDelegate.samples) ||
      color != oldDelegate.color ||
      gradient != oldDelegate.gradient ||
      waveformAlignment != oldDelegate.waveformAlignment ||
      sampleWidth != oldDelegate.sampleWidth ||
      style != oldDelegate.style ||
      borderWidth != oldDelegate.borderWidth ||
      borderColor != oldDelegate.borderColor;
}