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