Skip to content

Commit

Permalink
Error in docs: CustomPaint instead of CustomPainter (flutter#107836)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xba1 authored and camsim99 committed Aug 10, 2022
1 parent 50218bd commit 0483131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/flutter/lib/src/rendering/custom_paint.dart
Expand Up @@ -26,7 +26,7 @@ typedef SemanticsBuilderCallback = List<CustomPainterSemantics> 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.
Expand Down

0 comments on commit 0483131

Please sign in to comment.