boxSizing method

ContainerBuilder boxSizing({
  1. bool borderBox = true,
})

box-sizing - 设置盒模型 ⚠️ 部分支持:Flutter 中通过 BoxConstraints 间接控制 borderBox true 表示 border-box,false 表示 content-box

Implementation

ContainerBuilder boxSizing({bool borderBox = true}) {
  _boxSizingBorderBox = borderBox;
  return this;
}