floating property

bool floating
final

Whether the header should immediately grow again if the user reverses scroll direction.

If this is false, the header only grows again once the user reaches the part of the viewport that contains the sliver.

The delegate's SliverPersistentHeaderDelegate.snapConfiguration is ignored unless floating is true.

Implementation

final bool floating