flutter / flutter/devtools

Framework/devtools unnecessarily truncates doubles in widget inspector

Offen
#8,618 14 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
P2 polish reproduce to verify screen: inspector
Vorherrschende Sprache
Dart
Sterne
1.7k
Forks
404
Ø Merge
6 T. 17 Std.
Gemergte PRs (30 T.)
18

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.