FloatingSearchBarTransition class abstract
Base class for all open/close transitions for a FloatingSearchBar.
This class exposes various fields from the FloatingSearchBar and lets it interpolate them based on the animation progress.
See also:
- ExpandingFloatingSearchBarTransition, which expands to eventually fill all of its available space, similar to the ones in Gmail or Google Maps.
- CircularFloatingSearchBarTransition, which clips its child in an expanding circle while animating.
- SlideFadeFloatingSearchBarTransition, which fades and translate its child.
Constructors
Properties
- animation → CurvedAnimation
-
no setter
- backdropColor → Color
-
no setter
- backgroundColor → Color
-
no setter
- borderRadius → BorderRadius
-
no setter
- context → BuildContext
-
no setter
- elevation → double
-
no setter
- fullHeight → double
-
no setter
- fullWidth → double
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
no setter
- isBodyInsideSearchBar → bool
-
no setter
- margin → EdgeInsets
-
no setter
- maxWidth → double?
-
no setter
- offset → double
-
no setter
- openMaxWidth → double?
-
no setter
- padding → EdgeInsets
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchBar ↔ FloatingSearchBarState
-
getter/setter pair
- style → FloatingSearchBarStyle
-
no setter
- t → double
-
no setter
Methods
-
buildDivider(
) → Widget -
buildTransition(
Widget content) → Widget -
lerpBackgroundColor(
) → Color -
lerpBorderRadius(
) → BorderRadius -
lerpElevation(
) → double -
lerpHeight(
) → double -
lerpInnerElevation(
) → double -
lerpInnerWidth(
) → double -
lerpMargin(
) → EdgeInsetsGeometry -
lerpPadding(
) → EdgeInsetsGeometry -
lerpWidth(
) → double -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onBodyScrolled(
) → void -
rebuild(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
override