FloatingHeaderSnapConfiguration constructor

FloatingHeaderSnapConfiguration(
  1. {Curve curve = Curves.ease,
  2. 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.

Implementation

FloatingHeaderSnapConfiguration({
  this.curve = Curves.ease,
  this.duration = const Duration(milliseconds: 300),
});