From 96fa6c3ea421faa55fb31f3cf46ffa0de2482a0f Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Wed, 4 Jan 2017 15:09:10 -0800 Subject: [PATCH] IgnorePointer and AbsorbPointer should crossdoc each other. (#7337) Fixes #7252 --- packages/flutter/lib/src/widgets/basic.dart | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/flutter/lib/src/widgets/basic.dart b/packages/flutter/lib/src/widgets/basic.dart index 91490b609a..e152dde85c 100644 --- a/packages/flutter/lib/src/widgets/basic.dart +++ b/packages/flutter/lib/src/widgets/basic.dart @@ -2820,6 +2820,11 @@ class RepaintBoundary extends SingleChildRenderObjectWidget { /// 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: +/// +/// * [AbsorbPointer], which also prevents its children from receiving pointer +/// events but is itself visible to hit testing. class IgnorePointer extends SingleChildRenderObjectWidget { /// Creates a widget that is invisible to hit testing. /// @@ -2876,6 +2881,11 @@ class IgnorePointer extends SingleChildRenderObjectWidget { /// during layout and paints its child as usual. It just prevents its children /// from being the target of located events, because it returns `true` from /// [hitTest]. +/// +/// See also: +/// +/// * [IgnorePointer], which also prevents its children from receiving pointer +/// events but is itself invisible to hit testing. class AbsorbPointer extends SingleChildRenderObjectWidget { /// Creates a widget that absorbs pointers during hit testing. ///