I want to split the text data in Text widget after getting from api call. Here is the code
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"
}
),
]
)