shape property

MaterialStateProperty<OutlinedBorder?>? shape
final

The shape of the search bar's underlying Material.

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

If null, the value of SearchBarThemeData.shape will be used. If this is also null, defaults to StadiumBorder.

Implementation

final MaterialStateProperty<OutlinedBorder?>? shape;