RenderItemCallback typedef

RenderItemCallback = void Function(double stuckAmount)

Called every layout to provide the amount of stickyness a header is in. This lets the widgets animate their content and provide feedback.

Implementation

typedef void RenderItemCallback(double stuckAmount);