I am a beginner in flutter, how do i get or retrieve data from text widget. I have done some practice for example
Text("18:00"),
var data=Text("18:00");
print(data);
At the end instead of getting "18:00" i am getting "Text("17:05")" at the output.