From daddc914c7629ee00117cdffb724c5bee8cbe97d Mon Sep 17 00:00:00 2001 From: Gabriel Terwesten Date: Thu, 11 Jun 2020 01:35:01 +0200 Subject: [PATCH] Fix docs for Focus.onKey event propagation (#59096) --- packages/flutter/lib/src/widgets/focus_scope.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/widgets/focus_scope.dart b/packages/flutter/lib/src/widgets/focus_scope.dart index 4090939de6..2b1fbd376f 100644 --- a/packages/flutter/lib/src/widgets/focus_scope.dart +++ b/packages/flutter/lib/src/widgets/focus_scope.dart @@ -16,7 +16,7 @@ import 'inherited_notifier.dart'; /// /// For keyboard events, [onKey] is called if [FocusNode.hasFocus] is true for /// this widget's [focusNode], unless a focused descendant's [onKey] callback -/// returns false when called. +/// returns true when called. /// /// This widget does not provide any visual indication that the focus has /// changed. Any desired visual changes should be made when [onFocusChanged] is