Correct typo in addWithPaintTransform docs (#80657)

This commit is contained in:
creativecreatorormaybenot 2021-04-20 03:29:02 +00:00 committed by GitHub
parent b4175e9b86
commit 6e1a0ed28b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -695,7 +695,7 @@ class BoxHitTestResult extends HitTestResult {
///
/// The `position` argument may be null, which will be forwarded to the
/// `hitTest` callback as-is. Using null as the position can be useful if
/// the child speaks a different hit test protocol then the parent and the
/// the child speaks a different hit test protocol than the parent and the
/// position is not required to do the actual hit testing in that protocol.
///
/// The function returns the return value of the `hitTest` callback.
@ -706,7 +706,6 @@ class BoxHitTestResult extends HitTestResult {
///
/// ```dart
/// abstract class RenderFoo extends RenderBox {
///
/// final Matrix4 _effectiveTransform = Matrix4.rotationZ(50);
///
/// @override