flutter - 圆角

单个圆角变化

Container(
        height: 200,
        decoration: BoxDecoration(
          color: Colors.green,
          borderRadius: BorderRadius.only(
            topLeft: Radius.circular(50),
            topRight: Radius.circular(2),
            bottomLeft: Radius.circular(12),
            bottomRight: Radius.circular(30),
          ),
        ),
      );

posted @ 2019-04-16 15:09  gggggggxin  阅读(244)  评论(0编辑  收藏  举报