I was looking for a way to use SliverImplicitlyAnimatedList like a SliverList.separated. This is not possible with the current API, but looking at the code it should be easy to allow it.
I was thinking to allow passing a delegateBuilder to CustomSliverAnimatedList and use it here.
Then, for my case at least, I would be able to pass a delegate like this:
I was looking for a way to use
SliverImplicitlyAnimatedList
like aSliverList.separated
. This is not possible with the current API, but looking at the code it should be easy to allow it.I was thinking to allow passing a
delegateBuilder
toCustomSliverAnimatedList
and use it here. Then, for my case at least, I would be able to pass a delegate like this:Then we could also easily have
SliverImplicitlyAnimatedList.separated()
andImplicitlyAnimatedList.separated()
.I don't see why this should not be possible, but also haven't tested it yet. I could make a PR for this.