FloatingHeaderSnapConfiguration class
Specifies how a floating header is to be "snapped" (animated) into or out of view.
See also:
- RenderSliverFloatingPersistentHeader.maybeStartSnapAnimation and RenderSliverFloatingPersistentHeader.maybeStopSnapAnimation, which start or stop the floating header's animation.
- SliverAppBar, which creates a header that can be pinned, floating, and snapped into view via the corresponding parameters.
Constructors
- FloatingHeaderSnapConfiguration({Curve curve = Curves.ease, Duration duration = const Duration(milliseconds: 300)})
- Creates an object that specifies how a floating header is to be "snapped" (animated) into or out of view.
Properties
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