mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Error in docs: CustomPaint instead of CustomPainter (#107836)
This commit is contained in:
parent
2b621e1ab7
commit
b6afa9276d
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user