[英]Flutter Text: number is displayed inside a circle
I'll give a very simple example of my problem:我将举一个非常简单的例子来说明我的问题:
int myNumber = 1;
Text(
"This is my number: ($myNumber)",
),
Expected behaviour from Text:来自文本的预期行为:
This is my number: (1)
这是我的号码:(1)
But I get:但我得到:
This is my number: ①
这是我的号码:①
What causes this and what's the best way to avoid it?是什么导致了这种情况,避免这种情况的最佳方法是什么?
You should remove '( )' wrapped over myNumber
check this,你应该删除包裹在
myNumber
'( )' 检查这个,
int myNumber = 1;
Text(
"This is my number: $myNumber",
),
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.