Skip to content

Commit b6afa92

Browse files
authored
Error in docs: CustomPaint instead of CustomPainter (#107836)
1 parent 2b621e1 commit b6afa92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/flutter/lib/src/rendering/custom_paint.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ typedef SemanticsBuilderCallback = List<CustomPainterSemantics> Function(Size si
2626
/// [RenderCustomPaint] (in the rendering library).
2727
///
2828
/// To implement a custom painter, either subclass or implement this interface
29-
/// to define your custom paint delegate. [CustomPaint] subclasses must
29+
/// to define your custom paint delegate. [CustomPainter] subclasses must
3030
/// implement the [paint] and [shouldRepaint] methods, and may optionally also
3131
/// implement the [hitTest] and [shouldRebuildSemantics] methods, and the
3232
/// [semanticsBuilder] getter.

0 commit comments

Comments
 (0)