fluttercandies/flutter_scrollview_observer

[Feature request]

Closed this issue · 2 comments

Platforms

dart

Description

I'm using SuperSliverList from super_sliver_list package. can you add support for this? cause you are checking the type of sliver in the package codebase:

if (_obj is RenderSliverList || _obj is RenderSliverFixedExtentList) {}

Why

super_sliver_list solves performance issues, especially when you wanna use the Scrollbar

For ScrollView built by third-party package, you need to tell the scrollview_observer how to observe it.

extendedHandleObserve: (context) {
  // The _sliverListCtx is BuildContext of SuperSliverList.
  if (context == _sliverListCtx) {
    return ObserverCore.handleListObserve(context: context);
  }
  return null;
},

thanks, I think it's working.