diff --git a/packages/google_ml_kit/example/lib/vision_detector_views/painters/object_detector_painter.dart b/packages/google_ml_kit/example/lib/vision_detector_views/painters/object_detector_painter.dart index 6f5d755d..b2caeb2d 100644 --- a/packages/google_ml_kit/example/lib/vision_detector_views/painters/object_detector_painter.dart +++ b/packages/google_ml_kit/example/lib/vision_detector_views/painters/object_detector_painter.dart @@ -63,7 +63,5 @@ class ObjectDetectorPainter extends CustomPainter { } @override - bool shouldRepaint(covariant CustomPainter oldDelegate) { - return false; - } + bool shouldRepaint(covariant CustomPainter oldDelegate) => true; }