How can I add a border to a widget in Flutter?

I’m using Flutter and I’d like to add a border to a widget (in this case, a Text widget).

I tried TextStyle and Text, but I didn’t see how to add a border.

12 Answers
12

Leave a Comment