insetOnOverlap property
Whether the positioned children should be inset (made smaller) when the sliver has overlap.
This is very useful and most likely what you want when using a pinned SliverPersistentHeader as child of the stack
Defaults to false
Implementation
final bool insetOnOverlap;