flutter / flutter/devtools

Framework/devtools unnecessarily truncates doubles in widget inspector

Aperta
#8,618 14 commenti 0 reazioni 0 assegnatari Vedi su GitHub
P2 polish reproduce to verify screen: inspector
Lingua principale
Dart
Stelle
1.7k
Fork
404
Merge medio
6g 17h
PR unite (30g)
18

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.