Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ScrollablePositionedList ItemScrollController extend ScrollController #235

Open
nabil6391 opened this issue Mar 4, 2021 · 7 comments
Labels
p: scrollable_positioned_list Related to package:scrollable_positioned_list

Comments

@nabil6391
Copy link

Problem description

Currently ScrollablePositionedList cannot utilise scrollController of typical ScrollViews, as a result we are unable to Utilise common code among them. For example, We cannot wrap the ScrollablePositionedList with a ScrollBar to show a scrollbar to the Listview.

It would be great if you can extend or utilise ItemScrollController to extend ScrollController

@mellowcello77
Copy link

Is there anyway to detect scroll direction, or do we need "scrollController" as in the problem description?

@thuchau
Copy link

thuchau commented Jan 20, 2022

I have a issue when wrap ScrollablePositionedList in Scrollbar.

The Scrollbar attempted to use the provided ScrollController. This ScrollController should be associated with the ScrollView that the Scrollbar is being applied to. When providing your own ScrollController, ensure both the Scrollbar and the Scrollable widget use the same one.

@jamesderlin jamesderlin added the p: scrollable_positioned_list Related to package:scrollable_positioned_list label Jan 31, 2022
@khylenko
Copy link

Any news about old good ScrollController?
How can i detect scroll and scroll extent without it?

@ghost
Copy link

ghost commented Aug 15, 2022

Any updates? I need a CupertinoScrollBar to be able to work with this.

@nabil6391
Copy link
Author

nabil6391 commented Aug 16, 2022

Till the PR that I have given not get merged, anyone who requires this can actually use my forked repo to access the scrollController. Just have to do this in pubspec.yaml

scrollable_positioned_list:
    git:
      url: https://github.com/nabil6391/flutter.widgets.git
      ref: master
      path: packages/scrollable_positioned_list/

@maksimkut
Copy link

Till the PR that I have given not get merged, anyone who requires this can actually use my forked repo to access the scrollController. Just have to do this in pubspec.yaml

scrollable_positioned_list:
    git:
      url: https://github.com/nabil6391/flutter.widgets.git
      ref: master
      path: packages/scrollable_positioned_list/

shrinkWrap missing

@jfigueiredo99
Copy link

Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p: scrollable_positioned_list Related to package:scrollable_positioned_list
Projects
None yet
Development

No branches or pull requests

7 participants