0%

EdgeInsets 使用

EdgeInsets 使用

表示左右两边边距50

1
EdgeInsets.symmetric(horizontal:50),

表示上下左右全部边距50

1
EdgeInsets.all(50)

单独指定各个方向的边距

1
EdgeInsets.fromLTRB()