flutter / flutter/devtools

Can extensions redirect to places within the official devtool?

未关闭
#9,649 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
cross-screen new feature P2
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

Hello!

For the sake of improving user experience of my devtool, I was wondering if it would be possible to have my extension redirect to other bits of the Flutter devtool, where relevant.

Specifically I was wondering:
**Would it be possible for an extension to redirect to the widget tree inspector, with a specific widget as selected?**

In my extension, users may interact with widgets. It would be helpful if with a press of a button, they could see that specific widget in the widget tree debugger.

贡献指南

打开贡献指南

调研方向

首先调查扩展 API 和 widget tree inspector 的入口点,以确定扩展是否可以选择特定的 widget。定义扩展将如何请求导航,以及 inspector 必须接受哪种选择状态;当请求的 widget 能够通过扩展操作以选中状态打开时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart, flutter
领域
devtools
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。