flutter / flutter/devtools

Framework/devtools unnecessarily truncates doubles in widget inspector

Open
#8,618 14 comments 0 reactions 0 assignees View on GitHub
P2 polish reproduce to verify screen: inspector
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.