【发布时间】:2019-12-12 06:03:35
【问题描述】:
从 api 调用获取后,我想拆分 Text 小部件中的文本数据。这是代码
Row(
children:<Widget>[
Text('result'),
Text(item[pos].asr), //getting the data from api call which is "22:00"
RaisedButton(
onpressed(){
print()// here i want to show the split text data which is "22" then "00" under "22"
}
),
]
)
【问题讨论】: