Unverified Commit 2851ed32 authored by Kostia Sokolovskyi's avatar Kostia Sokolovskyi Committed by GitHub

Fix typo in hitTest docs (#145677)

This PR fixes the typo in the `hitTest` method documentation.
parent b39660df
......@@ -2708,7 +2708,7 @@ abstract class RenderBox extends RenderObject {
/// having been called in [hitTest] but cannot rely upon [paint] having been
/// called. For example, a render object might be a child of a [RenderOpacity]
/// object, which calls [hitTest] on its children when its opacity is zero
/// even through it does not [paint] its children.
/// even though it does not [paint] its children.
bool hitTest(BoxHitTestResult result, { required Offset position }) {
assert(() {
if (!hasSize) {
......
......@@ -1390,7 +1390,7 @@ abstract class RenderSliver extends RenderObject {
/// having been called in [hitTest] but cannot rely upon [paint] having been
/// called. For example, a render object might be a child of a [RenderOpacity]
/// object, which calls [hitTest] on its children when its opacity is zero
/// even through it does not [paint] its children.
/// even though it does not [paint] its children.
///
/// ## Coordinates for RenderSliver objects
///
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment