ExpandingFloatingSearchBarTransition class
A FloatingSearchBarTransition which expands to eventually fill all of its available space, similar to the ones in Gmail or Google Maps.
An example of this can be viewed here:
- Inheritance
-
- Object
- FloatingSearchBarTransition
- ExpandingFloatingSearchBarTransition
Constructors
- ExpandingFloatingSearchBarTransition({double innerElevation = 8, Widget? divider})
- Creates a FloatingSearchBarTransition which expands to eventually fill all of its available space, similar to the ones in Gmail or Google Maps.
Properties
- animation → Animation
-
no setterinherited
- backdropColor → Color
-
no setteroverride
- backgroundColor → Color
-
no setterinherited
- borderRadius → BorderRadius
-
no setterinherited
- context → BuildContext
-
no setterinherited
- divider → Widget?
-
A divider to be shown between the bar and the body of the FloatingSearchBar.
final
- elevation → double
-
no setterinherited
- fullHeight → double
-
no setterinherited
- fullWidth → double
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
no setterinherited
- innerElevation → double
-
The elevation of the bar to create a lift on scroll effect
when the body of the FloatingSearchBar gets scrolled beneath the
bar.
final
- isBodyInsideSearchBar → bool
-
no setteroverride
- margin → EdgeInsets
-
no setterinherited
- maxWidth → double?
-
no setterinherited
- offset → double
-
no setterinherited
- openMaxWidth → double?
-
no setterinherited
- padding → EdgeInsets
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchBar ↔ FloatingSearchBarState
-
getter/setter pairinherited
- style → FloatingSearchBarStyle
-
no setterinherited
- t → double
-
no setterinherited
Methods
-
buildDivider(
) → Widget -
override
-
buildTransition(
Widget content) → Widget -
inherited
-
lerpBackgroundColor(
) → Color -
inherited
-
lerpBorderRadius(
) → BorderRadius -
override
-
lerpElevation(
) → double -
inherited
-
lerpHeight(
) → double -
override
-
lerpInnerElevation(
) → double -
override
-
lerpInnerWidth(
) → double -
override
-
lerpMargin(
) → EdgeInsetsGeometry -
override
-
lerpPadding(
) → EdgeInsetsGeometry -
override
-
lerpWidth(
) → double -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onBodyScrolled(
) → void -
override
-
rebuild(
) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
inherited