SearchBarTheme
Customizes the appearance of SearchBar
controls across the app.
Properties
-
bgcolor
(ColorValue | None
) –Overrides the default value of
-
border_side
(ControlStateValue[BorderSide] | None
) –Overrides the default value of
-
elevation
(ControlStateValue[Number | None] | None
) –Overrides the default value of
-
hint_style
(ControlStateValue[TextStyle] | None
) –Overrides the default value of
-
overlay_color
(ControlStateValue[ColorValue] | None
) –Overrides the default value of
-
padding
(ControlStateValue[PaddingValue] | None
) –Overrides the default value of
-
shadow_color
(ControlStateValue[ColorValue] | None
) –Overrides the default value of
-
shape
(ControlStateValue[OutlinedBorder] | None
) –Overrides the default value of
-
size_constraints
(BoxConstraints | None
) –Overrides the default value of
-
text_capitalization
(TextCapitalization | None
) –Overrides the default value of
-
text_style
(ControlStateValue[TextStyle] | None
) –Overrides the default value of
Properties#
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.