Skip to content

Discrepancy between docs for maxScrollObstructionExtent and RenderSliverFloatingPersistentHeader implementation #35426

@tarobins

Description

@tarobins

https://api.flutter.dev/flutter/rendering/SliverGeometry/maxScrollObstructionExtent.html

says:
"Slivers that never get pinned at the edge, should return zero."

but

RenderSliverFloatingPersistentHeader sets maxScrollObstructionExtent to a non-zero value, even though RenderSliverFloatingPersistentHeader does not get pinned.

Metadata

Metadata

Assignees

Labels

d: api docsIssues with https://api.flutter.dev/f: scrollingViewports, list views, slivers, etc.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions