From f46dd406c1d5acf936b1761ec53b042277f46893 Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Tue, 4 Apr 2017 20:38:41 -0700 Subject: [PATCH] Add some breadcrumbs to RenderIgnorePointer/RenderAbsorbPointer (#9192) --- packages/flutter/lib/src/rendering/proxy_box.dart | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/flutter/lib/src/rendering/proxy_box.dart b/packages/flutter/lib/src/rendering/proxy_box.dart index c63a0d1b2d..053598a20e 100644 --- a/packages/flutter/lib/src/rendering/proxy_box.dart +++ b/packages/flutter/lib/src/rendering/proxy_box.dart @@ -2309,6 +2309,11 @@ class RenderRepaintBoundary extends RenderProxyBox { /// When [ignoringSemantics] is true, the subtree will be invisible to /// the semantics layer (and thus e.g. accessibility tools). If /// [ignoringSemantics] is null, it uses the value of [ignoring]. +/// +/// See also: +/// +/// * [RenderAbsorbPointer], which takes the pointer events but prevents any +/// nodes in the subtree from seeing them. class RenderIgnorePointer extends RenderProxyBox { /// Creates a render object that is invisible to hit testing. /// @@ -2492,6 +2497,11 @@ class RenderOffstage extends RenderProxyBox { /// consumes space during layout and paints its child as usual. It just prevents /// its children from being the target of located events, because its render /// object returns true from [hitTest]. +/// +/// See also: +/// +/// * [RenderIgnorePointer], which has the opposite effect: removing the +/// subtree from considering entirely for the purposes of hit testing. class RenderAbsorbPointer extends RenderProxyBox { /// Creates a render object that absorbs pointers during hit testing. ///