原文https://www.jianshu.com/p/fda93b90c4cc
Container(width:335,height:368,margin:EdgeInsets.only(left:35,right:35,top:10,bottom:18),decoration:BoxDecoration(border:newBorder.all(color:Colors.grey,//边框颜色width:1,//边框宽度),// 边色与边宽度color:Colors.white,// 底色boxShadow:[BoxShadow(blurRadius:2,//阴影范围spreadRadius:1,//阴影浓度color:Colors.grey,//阴影颜色),],borderRadius:BorderRadius.circular(19),// 圆角也可控件一边圆角大小//borderRadius: BorderRadius.only(// topRight: Radius.circular(10),// bottomRight: Radius.circular(10)) //单独加某一边圆角),child:Text("test"),)
网友评论