Skip to content

OutlineInputBorder 继承自: InputBorder

Draws a rounded rectangle around all sides of the decoration's container.

属性 ​

名称类型默认值说明
sideOptional[BorderSide]NoneThe color and weight of the border line. If None (the default), the color and weight are resolved by the Material theme for each interactive state — for example, the focused border uses the theme's primary color. An explicit side applies to the enabled state; provide per-state borders on border for full control.
border_radiusBorderRadiusValue4The radii of the border's rounded rectangle corners.
gap_paddingNumber4.0Horizontal padding on either side of the border's gap cut out for the floating label. Must be non-negative.

关注我,学习大模型、大数据、Python等热门技术。