Restrict feature experiments based on Dart version instead of Flutter version
- 主要语言
- Dart
- 星标
- 1.7k
- 派生
- 404
- 平均合并
- 6 天 17 小时
- 30 天内合并 PR
- 18
描述
As part of tackling https://github.com/flutter/devtools/issues/9438, I discovered that `flutter_tools` registers a service extension that we can use to fetch the current Flutter version (see https://github.com/flutter/flutter/blob/4d7ff0982c0f17a361268b5b3b5e1d9688d7db34/packages/flutter_tools/lib/src/vmservice.dart#L222) but there is no service extension equivalent that we can call for a pure Dart app.
I think this is fine for now, but in the future we might want to restrict features based on the Dart version and not the Flutter version.
贡献指南
调研方向
该 issue 指向 packages/flutter_tools/lib/src/vmservice.dart 及其 Flutter-version service extension。首先检查该 extension,以及 DevTools 当前如何获取用于功能实验的版本;该 issue 没有定义 Dart-version API、测试或验收标准,因此需要先明确期望的结果。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- dart
- 领域
- devtools
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100