Open taipower opened 4 years ago
Hello Did you find any solution? @taipower
ListView.builder(
itemCount: 3,
itemBuilder: (context, index) {
return StickyHeaderBuilder(
builder: (context, stuckAmount) {
stuckAmount = 1.0 - stuckAmount.clamp(0.0, 1.0);
if(stuckAmount == 1) print('$index is actived');
return SizedBox();
},
content: Text('$index'),);
});
I want to know index of header.