LiquidGlassIOSNavBarScrollConfiguration class
Configures native iOS nav-bar resizing in response to vertical scrolling.
Pass an instance to LiquidGlassNavBar.iosScrollConfiguration to collapse the native bar after downward scrolling. Upward scrolling, reaching the top, selecting an item, or waiting for idleExpandDuration restores normal size.
- Annotations
Constructors
-
Creates an iOS scroll-resize configuration.
const
Properties
- animationDuration → Duration
-
Duration of the native spring resize animation.
final
- collapsedScale → double
-
Scale applied to both width and height while collapsed.
final
- collapseThreshold → double
-
Accumulated downward scroll distance required before collapsing.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- idleExpandDuration → Duration
-
Time since the last downward update before automatically expanding.
final
- 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.
override