class VerticalChinese extends StatelessWidget {
final TextStyle textStyle;
final String text;
VerticalChinese({@required this.text, @required this.textStyle, Key key})
: assert(text != null),
assert(textStyle != null),
super(key: key);
@override
Widget build(BuildContext context) {
List<Text> textList = text.split('').map((e)=>Text(e, style: textStyle,)).toList();
print(textList);
return Wrap(
direction: Axis.vertical,
children: textList,
);
}
}