flutter / flutter/devtools

Restrict feature experiments based on Dart version instead of Flutter version

Open
#9,439 2 comments 0 reactions 0 assignees View on GitHub
cross-screen P3
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

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.

Contributor guide

Open the contributing guide

Research direction

The issue points to packages/flutter_tools/lib/src/vmservice.dart and its Flutter-version service extension. Start by reviewing that extension and how DevTools currently obtains the version for feature experiments; the issue does not define a Dart-version API, tests, or acceptance criteria, so the desired outcome needs clarification first.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.