OnOffsetChange typedef

OnOffsetChange = void Function(bool up, double offset)

callback when the indicator scroll out of edge up: indicate header or footer callback offset: the distance of indicator out of edge

Implementation

typedef void OnOffsetChange(bool up, double offset);