From b6afa9276d4064fe4963feefe7556bbc8f05b06b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Boluwatif=E1=BA=B9?= Date: Tue, 19 Jul 2022 19:28:05 +0100 Subject: [PATCH] Error in docs: `CustomPaint` instead of `CustomPainter` (#107836) --- packages/flutter/lib/src/rendering/custom_paint.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.