side property

MaterialStateProperty<BorderSide?>? side
final

The color and weight of the search bar's outline.

This value is combined with shape to create a shape decorated with an outline.

If null, the value of SearchBarThemeData.side will be used. If this is also null, the search bar doesn't have a side by default.

Implementation

final MaterialStateProperty<BorderSide?>? side;