diff --git a/packages/flutter/lib/src/rendering/custom_paint.dart b/packages/flutter/lib/src/rendering/custom_paint.dart index 32e04436da2..1bd3823088a 100644 --- a/packages/flutter/lib/src/rendering/custom_paint.dart +++ b/packages/flutter/lib/src/rendering/custom_paint.dart @@ -26,7 +26,7 @@ typedef SemanticsBuilderCallback = List Function(Size si /// [RenderCustomPaint] (in the rendering library). /// /// To implement a custom painter, either subclass or implement this interface -/// to define your custom paint delegate. [CustomPaint] subclasses must +/// to define your custom paint delegate. [CustomPainter] subclasses must /// implement the [paint] and [shouldRepaint] methods, and may optionally also /// implement the [hitTest] and [shouldRebuildSemantics] methods, and the /// [semanticsBuilder] getter.