From 248cd2ba836fa539bd5c64c3f382e721b11282b7 Mon Sep 17 00:00:00 2001 From: Michael Goderbauer Date: Thu, 2 Nov 2017 16:02:16 -0700 Subject: [PATCH] Add isTextField and isFocused flags for iOS (flutter/engine#4316) --- engine/src/flutter/lib/ui/semantics/semantics_node.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/src/flutter/lib/ui/semantics/semantics_node.h b/engine/src/flutter/lib/ui/semantics/semantics_node.h index 33806bacd1..4335babb84 100644 --- a/engine/src/flutter/lib/ui/semantics/semantics_node.h +++ b/engine/src/flutter/lib/ui/semantics/semantics_node.h @@ -39,6 +39,8 @@ enum class SemanticsFlags : int32_t { kIsChecked = 1 << 1, kIsSelected = 1 << 2, kIsButton = 1 << 3, + kIsTextField = 1 << 4, + kIsFocused = 1 << 5, }; struct SemanticsNode {