devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Focus tree inspector

Open Albert221 opened this issue 2 years ago • 2 comments

Similar to #1397 and #481, it would be helpful to have the inspector of focus nodes tree in a GUI like devtools, in addition to debugDumpFocusTree

Albert221 avatar Feb 28 '23 09:02 Albert221

Additional request for a focus management tool from a g3 customer.

kenzieschmoll avatar Mar 13 '23 23:03 kenzieschmoll

@jacob314 and I created a hacky prototype:

image

This works by swapping out the widget inspector's diagnostics node to use the WidgetsBinding.focusManager instead.

TODO:

  1. We'll need to update device inspector selection to work for focus nodes
  2. The tree and console should use the focus node's debug name instead of child N
  3. More...

loic-sharma avatar Jan 09 '24 22:01 loic-sharma