flutter 邊框 BoxDecoration InputDecotation

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),
相關文章
相關標籤/搜索