What Compose's SearchBar sets in code (behavior.yaml, verified at the
pin).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- appBarHorizontalPadding → const Dp
-
A search app bar's padding before its navigation icon and after its
actions (AppBarWithSearchHorizontalPadding). (
SearchBar.ktline 4157.) - appBarVerticalPadding → const Dp
-
The vertical padding around the search bar inside a search app bar, and
above the contained search view's field (AppBarWithSearchVerticalPadding).
(
SearchBar.ktline 4159.) - asTopBarPadding → const Dp
-
The horizontal padding around the search bar inside a search app bar
(SearchBarAsTopBarPadding). (
SearchBar.ktline 4155.) - collapseMotion → const ExpressiveMotionKey
-
The spring the full-screen search view collapses back into the bar on
(rememberSearchBarState's animationSpecForCollapse). (
SearchBar.ktline 1634.) - expandMotion → const ExpressiveMotionKey
-
The spring the search bar expands into the full-screen search view on
(rememberSearchBarState's animationSpecForExpand). (
SearchBar.ktline 1633.) - fullScreenExpandedHorizontalPadding → const Dp
-
The contained full-screen search view's horizontal padding around its
input field (FullScreenExpandedHorizontalPadding). (
SearchBar.ktline 4165.) - iconOffsetX → const Dp
-
How far the input field's leading and trailing icons move inwards from a
text field's, for the search bar's 16dp icon margins
(SearchBarIconOffsetX). (
SearchBar.ktline 4179.) - maxWidth → const Dp
-
The search bar's greatest width (SearchBarMaxWidth). (
SearchBar.ktline 4173.) - minWidth → const Dp
-
The search bar's least width, where the space allows (SearchBarMinWidth).
(
SearchBar.ktline 4171.) - predictiveBackMaxOffsetY → const Dp
-
The furthest the shrinking search view follows the finger vertically
during a predictive back gesture (SearchBarPredictiveBackMaxOffsetY).
(
SearchBar.ktline 4185.) - predictiveBackMinMargin → const Dp
-
The least margin the search view keeps to the screen's edges while a
predictive back gesture shrinks it (SearchBarPredictiveBackMinMargin).
(
SearchBar.ktline 4182.) - verticalPadding → const Dp
-
The full-screen search view's padding above (uncontained) and below its
input field (SearchBarVerticalPadding). (
SearchBar.ktline 4175.)