Skip to content

feat: add command to fetch render tree by widget type #119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

Alpaca00
Copy link
Contributor

Hi there,

this is a client-side implementation for this PR

@saikrishna321
Copy link
Member

@Alpaca00 Thanks for the PR. Is widgetType mandatory? Reason to ask is if we can get the entire tree then we can build an inspector.

@Alpaca00
Copy link
Contributor Author

@saikrishna321
I made this parameter optional.
Regarding the inspector - it's a great idea, but it should offer something better than the existing Flutter Inspector.
One more nuance is that the rendering doesn't capture properties of all widgets, since some of them encapsulate those properties.

Here's an example of the render tree response from the root without any parameters for demo-app
https://gist.github.com/Alpaca00/dd56540be081af049ed8e6b6ca1893db

@saikrishna321 saikrishna321 merged commit d439028 into AppiumTestDistribution:main May 1, 2025
5 of 6 checks passed
github-actions bot pushed a commit that referenced this pull request May 1, 2025
## [1.2.0](v1.1.4...v1.2.0) (2025-05-01)

### Features

* add command to fetch render tree by widget type ([#119](#119)) ([d439028](d439028))
Copy link
Contributor

github-actions bot commented May 1, 2025

🎉 This PR is included in version 1.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants