OutlineInputBorder
Draws a rounded rectangle around all sides of the decoration's container.
Inherits: InputBorder
Properties
border_radius- The radii of the border's rounded rectangle corners.gap_padding- Horizontal padding on either side of the border's gap cut out for the floatingFormFieldControl.label.side- The color and weight of the border line.
Properties
border_radiusclass-attributeinstance-attribute
border_radius: BorderRadiusValue = 4The radii of the border's rounded rectangle corners.
gap_paddingclass-attributeinstance-attribute
gap_padding: Number = 4.0Horizontal padding on either side of the border's gap cut out for the
floating FormFieldControl.label.
Must be non-negative.
sideclass-attributeinstance-attribute
side: BorderSide | None = 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 FormFieldControl.border for full control.