callback when the indicator scroll out of edge up: indicate header or footer callback offset: the distance of indicator out of edge
typedef OnOffsetChange = void Function(bool up, double offset);