Container(
decoration: new BoxDecoration(
border: new Border.all(
width: 1.0,
color: Colors.grey,
),
),
child:Text("aaa")
}
还有取消边框的
decoration: InputDecoration(border: InputBorder.none,fillColor: Colors.red),