:::

6-9 中文直書

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,
    );
  }
}

 


:::

書籍目錄

展開 | 闔起

https%3A%2F%2Fcampus-xoops.tn.edu.tw%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbsn%3D42%26tbdsn%3D1896

計數器

今天: 3223322332233223
昨天: 4771477147714771
總計: 5539226553922655392265539226553922655392265539226