shouldRepaint method
- DetectionOverlayPainter oldDelegate
Implementation
@override
bool shouldRepaint(DetectionOverlayPainter oldDelegate) =>
oldDelegate.detections != detections || oldDelegate.labels != labels;
@override
bool shouldRepaint(DetectionOverlayPainter oldDelegate) =>
oldDelegate.detections != detections || oldDelegate.labels != labels;