Skip to content

UnderlineInputBorder 继承自: InputBorder

Draws a horizontal line along the bottom edge of the decoration's container.

属性 ​

名称类型默认值说明
sideOptional[BorderSide]NoneThe color and weight of the underline. If None (the default), the color and weight are resolved by the Material theme for each interactive state — for example, the focused underline uses the theme's primary color. An explicit side applies to the enabled state; provide per-state borders on border for full control.
border_radiusBorderRadiusValueBorderRadius.only(top_left=4()The radii of the container's corners. Only the top corners are rounded by default. The radius shapes/clips the fill of the decoration's container (visible when filled is True); the drawn border remains the bottom line.

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