Flutter Container 的alignment属性

Container(
                      alignment: const Alignment(0.0, 1.0),
                      child:Text(ss,style: TextStyle(color: Colors.yellow[700],)),)

发现自己图片坐标都标错了....

只要知道左上角是 (-1,-1) 右下角是 (1,1) 就行了

posted on 2019-04-18 06:34  --LP--  阅读(6041)  评论(0)    收藏  举报

导航