Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
96fa6c3e
Commit
96fa6c3e
authored
Jan 04, 2017
by
Adam Barth
Committed by
GitHub
Jan 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IgnorePointer and AbsorbPointer should crossdoc each other. (#7337)
Fixes #7252
parent
9552de30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
basic.dart
packages/flutter/lib/src/widgets/basic.dart
+10
-0
No files found.
packages/flutter/lib/src/widgets/basic.dart
View file @
96fa6c3e
...
...
@@ -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.
///
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment