I have a flutter app in making with a SliverPersistentHeader (SPH, via delegate, acting as AppBar) which should display updated user-specific score/points/credits. This value get periodically recalculated in background and I get it refreshed via a ChangeNotifier and the ChangeNotificationProvider wrapped around the Widgets build in the Sliver delegate.
Everytime I trigger the notificationListener() it trigger the redraw of the SPH as desired; but it redraw the full sliver content below too and reset the scrolling position.
I have other Sliver items below the header (e.g. a Grid) in which my redraws working as desired and not changing the scrolling of the overall sliver.
Any ideas/hints how I can refresh the SPH without changing the scrolling below ?
Quick update: the SPH contain a stack with positioned widgets; in case this might be of relevance.