Text Widget in flutter produces text on a single line horizontally, is it possible to generate the same thing vertically, not Transformed in the container?

Example:

Horizontal:
Try

Vertical:
T
r
y  

1 Answers

A default Widget or property of Text Widget is not there which can directly transform the text vertically but you can do that using below code

Container(
  child: Column(
    children: "Try".split('').map((i) => new Text(i.toString())).toList(),
  ),
),
Ask question now
Never leave your website again in search of code snippets by installing our chrome extension.