flutter / flutter/devtools

Restrict feature experiments based on Dart version instead of Flutter version

Abierto
#9,439 2 comentarios 0 reacciones 0 asignados Ver en GitHub
cross-screen P3
Lenguaje dominante
Dart
Estrellas
1.7k
Forks
404
Merge medio
6 d 17 h
PR fusionados (30 d)
18

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.