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

This commit is contained in:
amirh 2017-10-13 13:33:39 -07:00 committed by GitHub
parent 00c4c7b023
commit 3616ebbd30

View File

@ -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.