Skip to content

SearchBarTheme

SearchBarTheme #

Customizes the appearance of SearchBar controls across the app.

bgcolor #

bgcolor: ColorValue | None = None

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

border_side #

border_side: ControlStateValue[BorderSide] | None = None

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

elevation #

elevation: ControlStateValue[Number | None] | None = None

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

hint_style #

hint_style: ControlStateValue[TextStyle] | None = None

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

overlay_color #

overlay_color: ControlStateValue[ColorValue] | None = None

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

padding #

padding: ControlStateValue[PaddingValue] | None = None

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

shadow_color #

shadow_color: ControlStateValue[ColorValue] | None = None

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

shape #

shape: ControlStateValue[OutlinedBorder] | None = None

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

size_constraints #

size_constraints: BoxConstraints | None = None

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

text_capitalization #

text_capitalization: TextCapitalization | None = None

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

text_style #

text_style: ControlStateValue[TextStyle] | None = None

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