viewShape property

OutlinedBorder? viewShape

The shape of the search view's underlying Material.

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

If null, the value of SearchViewThemeData.shape will be used. If this is also null, then the default value is a rectangle shape for full-screen mode and a RoundedRectangleBorder shape with a 28.0 radius otherwise.


final OutlinedBorder? viewShape;