# Blank
空白填充组件,在容器主轴方向上,空白填充组件具有自动填充容器空余部分的能力。
> **说明:**
>- 仅当父组件为Row/Column时生效。
## 权限列表
无
## 子组件
无
## 接口
Blank\(min?: Length\)
- 参数
参数名
|
参数类型
|
必填
|
默认值
|
参数描述
|
min
|
Length
|
否
|
0
|
空白填充组件在容器主轴上的最小大小。
|
## 属性
名称
|
参数类型
|
默认值
|
描述
|
color
|
Color
|
0x00000000
|
设置空白填充的填充颜色。
|
> **说明:**
>- 不支持通用属性方法。
## 示例
```
@Entry
@Component
struct BlankExample {
build() {
Column() {
Row() {
Text('Bluetooth').fontSize(18)
Blank()
Text('on/off').fontSize(18).height(60)
}.width('100%').backgroundColor(0xFFFFFF).borderRadius(15).padding(12)
}.backgroundColor(0xEFEFEF).padding(20)
}
}
```
竖屏状态

横屏状态
