flutter / flutter/devtools

Framework/devtools unnecessarily truncates doubles in widget inspector

オープン
#8,618 コメント 14 件 リアクション 0 件 担当者 0 名 GitHub で見る
P2 polish reproduce to verify screen: inspector
主要言語
Dart
スター
1.7k
フォーク
404
平均マージ
6日 17時間
マージ済み PR(30日)
18

説明

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?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。