flutter中如何实现控件的旋转?

text 向右旋转45°

见代码

            child: Transform.rotate(angle: math.pi / 4, child: Row(
              mainAxisAlignment: MainAxisAlignment.end,
              children: const [
                Text('text'),
              ],
            ),

 

posted on 2021-12-28 15:00  小小程序员的梦想  阅读(1081)  评论(0编辑  收藏  举报

导航