FloatingHeaderSnapConfiguration constructor
Creates an object that specifies how a floating header is to be "snapped" (animated) into or out of view.
Implementation
FloatingHeaderSnapConfiguration({
@required this.vsync,
this.curve = Curves.ease,
this.duration = const Duration(milliseconds: 300),
}) : assert(vsync != null),
assert(curve != null),
assert(duration != null);