Commit 3616ebbd authored by amirh's avatar amirh Committed by GitHub

Emphasize the behavior property in GestureDetector's class doc. (#12536)

parent 00c4c7b0
...@@ -95,6 +95,9 @@ class GestureRecognizerFactoryWithHandlers<T extends GestureRecognizer> extends ...@@ -95,6 +95,9 @@ class GestureRecognizerFactoryWithHandlers<T extends GestureRecognizer> extends
/// If this widget has a child, it defers to that child for its sizing behavior. /// If this widget has a child, it defers to that child for its sizing behavior.
/// If it does not have a child, it grows to fit the parent instead. /// If it does not have a child, it grows to fit the parent instead.
/// ///
/// By default a GestureDetector with an invisible child ignores touches;
/// this behavior can be controlled with [behavior].
///
/// GestureDetector also listens for accessibility events and maps /// GestureDetector also listens for accessibility events and maps
/// them to the callbacks. To ignore accessibility events, set /// them to the callbacks. To ignore accessibility events, set
/// [excludeFromSemantics] to true. /// [excludeFromSemantics] to true.
......
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