-
Greg Spencer authored
This re-lands #49235 with the addition of includeSemantics flag on the Focus widget so that the FocusTraversalGroup can create a Focus widget without affecting the semantics tree. The FocusTraversalGroup uses the Focus widget to create a grouping of descendants for traversal, but doesn't actually participate in focus (canRequestFocus is always false), so we don't want it to add a Semantics widget in that case, since that can cause semantics changes. The canRequestFocus attribute can also be used when a widget is disabled, so we do sometimes want to include Semantics even if that is false, but not in the case where it is always false, as for FocusTraversalGroup. - Added a test to make sure that FocusTraversalGroup doesn't add any semantics information.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
actions.dart | Loading commit data... | |
animated_icons.dart | ||
card_collection.dart | ||
color_testing_demo.dart | ||
density.dart | ||
drag_and_drop.dart | ||
focus.dart | ||
hover.dart | ||
main.dart | ||
material_arc.dart | ||
overlay_geometry.dart | ||
page_view.dart | ||
raw_keyboard.dart | ||
text.dart |