Skip to content

Semantics tree inspector #1397

Description

@dnfield

Similar to #481

Would be really nice to have a way to view the semantics tree.

/cc @darrenaustin @goderbauer fyi

Activity

  1. added this to the M14 milestone on Jan 7, 2020
  2. self-assigned this
    on Jan 7, 2020
  3. modified the milestones: M14, M15 on Jan 8, 2020
  4. modified the milestones: M15, On Deck on Mar 3, 2020
  5. Albert221 commented on Feb 28, 2023

    @Albert221

    Is there maybe any chance in having this feature in the near future?

  6. chunhtai commented on Aug 21, 2024

    @chunhtai
    Contributor

    Some ideas from go/flutter-semantics

    It would be good if the tool can reference an area of the screen to a semantics node as well as what widget or widget subtree that generates the semantics node. Some thing like a side by side screen, where semantics tree on one side and the running app on the other. When mouse hover a node on the semantics tree, the corresponding area of the running app will be highlighted.

  7. added
    P3issues we think are valid but not important
    on Oct 3, 2024
  8. ivanpondal commented on May 9, 2025

    @ivanpondal

    Hello! bumping this, coming from react testing library it'd be great to take the same approach of writing tests based on accessibility metadata when developing flutter apps. Right now the only way I've found of getting the current semantic tree is through debugDumpSemanticsTree which is a rather basic dev experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions