-
-
Notifications
You must be signed in to change notification settings - Fork 191
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Sometimes a callback may be needed to make sure that the header is fixed. Maybe it would be better to add a callback?
example:
SliverStickyHeader(
pinnedCallback: (stickyHeaderScrollOffset){
// do something
},
header: Header(index: index),
sliver: SliverList(
delegate: SliverChildBuilderDelegate(
(context, i) => ListTile(
leading: CircleAvatar(
child: Text('$index'),
),
title: Text('List tile #$i'),
),
childCount: 6,
),
),
)maybe use StickyHeaderController?
zs-dima, abellee and fujidaiti
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request