how to return string from text widget code example Example: how to return string from text widget return(Text('value').data)