Skip to content

SearchViewTheme

SearchViewTheme #

Customizes the appearance of SearchBar controls across the app.

bar_padding #

bar_padding: PaddingValue | None = None

Overrides the default value of SearchBar.view_bar_padding in all descendant SearchBar controls.

bgcolor #

bgcolor: ColorValue | None = None

Overrides the default value of SearchBar.view_bgcolor in all descendant SearchBar controls.

border_side #

border_side: BorderSide | None = None

Overrides the default value of SearchBar.view_side in all descendant SearchBar controls.

divider_color #

divider_color: ColorValue | None = None

Overrides the default value of SearchBar.divider_color in all descendant SearchBar controls.

elevation #

elevation: Number | None = None

Overrides the default value of SearchBar.view_elevation in all descendant SearchBar controls.

header_height #

header_height: Number | None = None

Overrides the default value of SearchBar.view_header_height in all descendant SearchBar controls.

header_hint_text_style #

header_hint_text_style: TextStyle | None = None

Overrides the default value of SearchBar.view_hint_text_style in all descendant SearchBar controls.

header_text_style #

header_text_style: TextStyle | None = None

Overrides the default value of SearchBar.view_header_text_style in all descendant SearchBar controls.

padding #

padding: PaddingValue | None = None

Overrides the default value of SearchBar.view_padding in all descendant SearchBar controls.

shape #

shape: OutlinedBorder | None = None

Overrides the default value of SearchBar.view_shape in all descendant SearchBar controls.

shrink_wrap #

shrink_wrap: bool | None = None

Overrides the default value of SearchBar.shrink_wrap in all descendant SearchBar controls.

size_constraints #

size_constraints: BoxConstraints | None = None

Overrides the default value of SearchBar.view_size_constraints in all descendant SearchBar controls.