devtools
devtools copied to clipboard
Make table entries selectable
It's currently not possible to select text from entries in a table, making it difficult to copy-paste things like file paths from stack traces.
cc @liamappelbe
We can make the table entries use SelectableText, though there are some usability issues that arise from this: https://github.com/flutter/flutter/issues/129590.
Out of the box, this does change the select behavior of the table rows as well. For example in a tree table, clicking on a row should expand or collapse the row, but when we use SelectableText
, the select gesture takes precedence over the on tap handler.
This issue may also be blocked by https://github.com/flutter/flutter/issues/80435. SelectableText
overflow property is not working.
SelectableRegion
in theory allows you to select static text.
Reopening this issue since it appears the fix did not apply to tree tables: