DataTable: expose focus-related attributes #116644
Labels
a: desktop
Running on desktop
c: new feature
Nothing broken; request for a new capability
c: proposal
A detailed proposal for a change to Flutter
f: focus
Focus traversal, gaining or losing focus
f: material design
flutter/packages/flutter/material repository.
framework
flutter/packages/flutter repository. See also f: labels.
P3
Issues that are less important to the Flutter project
team-framework
Owned by Framework team
Use case
The use case is to control tab focus traversal on the desktop. For example, the following kind of table might want to have 3 tab-focus traversal steps per row:
DataTable
creates hidden ink wells/responses under the hood. For these, none of the focus-related attributes are exposed. As a result, the focus chain for the above table becomes "Foo 2" -> "Bar 2" -> "(Baz)" -> "Edit" -> "Delete" where it's hard for the user to understand where the focus is traversing because there are "hidden" steps under the hood.sample code
Proposal
Expose
autofocus
,focusNode
, and perhapscanRequestFocus
for bothDataRow
andDataCell
.The text was updated successfully, but these errors were encountered: