flutter / flutter/devtools

Framework/devtools unnecessarily truncates doubles in widget inspector

Abierto
#8,618 14 comentarios 0 reacciones 0 asignados Ver en GitHub
P2 polish reproduce to verify screen: inspector
Lenguaje dominante
Dart
Estrellas
1.7k
Forks
404
Merge medio
6 d 17 h
PR fusionados (30 d)
18

Descripción

When I want to position the widget in Stack via Align, why can I specify a number from 0.0 to 1.0 in the alignment property: FractionalOffset(x, y) with an accuracy of only 1 decimal point? For example, I need to set the x: 0.1222 coordinate. Flutter will trim the value to 0.1 😔 How can I position the widget more precisely in this case?

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.